Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3fcc3d43d60d09ea272f6f30155e39dce5a3cad4
https://github.com/WebKit/WebKit/commit/3fcc3d43d60d09ea272f6f30155e39dce5a3cad4
Author: Mike Wyrzykowski <[email protected]>
Date: 2025-06-26 (Thu, 26 Jun 2025)
Changed paths:
M Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/UIProcess/WebProcessPool.h
Log Message:
-----------
Headroom trait changes are not forwarded to WebProcessPool on iOS
https://bugs.webkit.org/show_bug.cgi?id=294979
radar://154305310
Reviewed by Said Abou-Hallawa.
iOS doesn't send the NSApp* notification changes, instead it
listens for trait changes on the WebView.
When this changes we need to execute the same logic macOS
runs when receiving the app-wide notification.
* Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(WebKit::WebProcessPool::suppressEDR):
Track state so we only run the logic once per trait change
similar to macOS.
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::setShouldSuppressHDR):
* Source/WebKit/UIProcess/WebProcessPool.h:
Canonical link: https://commits.webkit.org/296657@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