Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 24f1e6d79bfc008ff11b20aa59486315580ef66b
https://github.com/WebKit/WebKit/commit/24f1e6d79bfc008ff11b20aa59486315580ef66b
Author: Ruthvik Konda <[email protected]>
Date: 2026-04-28 (Tue, 28 Apr 2026)
Changed paths:
M Source/WebCore/Modules/push-api/PushManager.cpp
Log Message:
-----------
Use protect() instead of Ref { } in push-api code
https://bugs.webkit.org/show_bug.cgi?id=313264
rdar://175534619
Reviewed by Ryosuke Niwa.
Mechanical migration from Ref { expr } to protect(expr) in push-api code,
aligning with the codebase-wide transition away from brace-initialized smart
pointer temporaries.
No new tests needed (no behavioral change, style-only refactor).
* Source/WebCore/Modules/push-api/PushManager.cpp:
(WebCore::PushManager::subscribe):
(WebCore::PushManager::getSubscription):
(WebCore::PushManager::permissionState):
* Source/WebCore/Modules/push-api/PushSubscription.cpp:
(WebCore::PushSubscription::unsubscribe):
Canonical link: https://commits.webkit.org/312215@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications