Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 827e0b9c258027000f3b22605cf909db787bf991
https://github.com/WebKit/WebKit/commit/827e0b9c258027000f3b22605cf909db787bf991
Author: Rose <[email protected]>
Date: 2024-09-22 (Sun, 22 Sep 2024)
Changed paths:
M Source/WebKit/UIProcess/API/Cocoa/_WKSystemPreferences.mm
M Source/WebKit/UIProcess/API/Cocoa/_WKSystemPreferencesInternal.h
Log Message:
-----------
Make WKLockdownModeEnabledKey a CFString literal
https://bugs.webkit.org/show_bug.cgi?id=279163
Reviewed by Abrar Rahman Protyasha.
Having two variables of the same string is better
than manual conversion at runtime.
* Source/WebKit/UIProcess/API/Cocoa/_WKSystemPreferences.mm:
(+[_WKSystemPreferences isCaptivePortalModeEnabled]): Use new constant
WKLockdownModeEnabledKeyCFString.
(+[_WKSystemPreferences setCaptivePortalModeEnabled:]): Ditto.
* Source/WebKit/UIProcess/API/Cocoa/_WKSystemPreferencesInternal.h:
Define new constant WKLockdownModeEnabledKeyCFString.
Canonical link: https://commits.webkit.org/284059@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