Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2befa128ac9a89878521a7a5aefea1c448edae28
https://github.com/WebKit/WebKit/commit/2befa128ac9a89878521a7a5aefea1c448edae28
Author: Simon Fraser <[email protected]>
Date: 2026-10-08 (Thu, 08 Oct 2026)
Changed paths:
M Source/WebCore/rendering/RenderImage.cpp
M Source/WebCore/rendering/svg/RenderSVGImage.cpp
M Source/WebCore/rendering/svg/legacy/LegacyRenderSVGImage.cpp
Log Message:
-----------
[AXCustomColorMode] Remove the Image::nullImage() workaround
https://bugs.webkit.org/show_bug.cgi?id=326758
rdar://189468403
Reviewed by Lily Spiniolas.
Call the `AXCustomColorModeController::shouldInvertContentImage()` overload
that doesn't take an Image* now, but only for non-SVG images.
* Source/WebCore/rendering/RenderImage.cpp:
(WebCore::RenderImage::paintIntoRect):
* Source/WebCore/rendering/svg/RenderSVGImage.cpp:
(WebCore::RenderSVGImage::paintIntoRect):
* Source/WebCore/rendering/svg/legacy/LegacyRenderSVGImage.cpp:
(WebCore::LegacyRenderSVGImage::paintForeground):
Canonical link: https://commits.webkit.org/323108@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications