Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 58072722f0cc4d05a2ce381152be2e44b891f117
https://github.com/WebKit/WebKit/commit/58072722f0cc4d05a2ce381152be2e44b891f117
Author: Said Abou-Hallawa <[email protected]>
Date: 2024-10-07 (Mon, 07 Oct 2024)
Changed paths:
M Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp
Log Message:
-----------
REGRESSION(284617@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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes