[webkit-changes] [WebKit/WebKit] 580727: REGRESSION(284617 at main): Assertion fires when rend...
Said Abou-Hallawa
noreply at github.com
Mon Oct 7 18:26:13 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 58072722f0cc4d05a2ce381152be2e44b891f117
https://github.com/WebKit/WebKit/commit/58072722f0cc4d05a2ce381152be2e44b891f117
Author: Said Abou-Hallawa <said at apple.com>
Date: 2024-10-07 (Mon, 07 Oct 2024)
Changed paths:
M Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp
Log Message:
-----------
REGRESSION(284617 at main): Assertion fires when rendering an HDR image is partially displayed
https://bugs.webkit.org/show_bug.cgi?id=281003
rdar://137402152
Reviewed by Mike Wyrzykowski.
In GraphicsContextCG::drawNativeImageInternal(), the state of CGContext may not
been saved before setting the headroom to the headroom of a CGImage.
In this case we need to explicitly restore the old headroom to CGContext before
exiting this function.
* Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContextCG::drawNativeImageInternal):
Canonical link: https://commits.webkit.org/284798@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list