[webkit-changes] [WebKit/WebKit] 827e0b: Make WKLockdownModeEnabledKey a CFString literal
Rose Silicon
noreply at github.com
Sun Sep 22 22:54:10 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 827e0b9c258027000f3b22605cf909db787bf991
https://github.com/WebKit/WebKit/commit/827e0b9c258027000f3b22605cf909db787bf991
Author: Rose <gfunni234 at gmail.com>
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
More information about the webkit-changes
mailing list