Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d0a906bc4c3575164daa3d75c5ed5d05e85ae104
https://github.com/WebKit/WebKit/commit/d0a906bc4c3575164daa3d75c5ed5d05e85ae104
Author: Lily Spiniolas <[email protected]>
Date: 2026-10-14 (Wed, 14 Oct 2026)
Changed paths:
M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.h
M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm
Log Message:
-----------
Update AX PDF filtering when appearance changes
https://bugs.webkit.org/show_bug.cgi?id=327605
rdar://189987850
Reviewed by Simon Fraser.
Update the AX PDF filtering state when the system appearance changes
so that the filter can update accordingly. Avoid unnecessary re-renders
by checking whether or not the state changed before rendering again.
* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.h:
* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
(WebKit::UnifiedPDFPlugin::didChangeSettings):
(WebKit::UnifiedPDFPlugin::updateAccessibilityDisplayModeEligibility):
(WebKit::UnifiedPDFPlugin::setAccessibilityDisplayModeState):
(WebKit::UnifiedPDFPlugin::effectiveAppearanceDidChange):
Canonical link: https://commits.webkit.org/323779@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications