Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9f4deff18f031b558272a136d657434ab6aa7f50
https://github.com/WebKit/WebKit/commit/9f4deff18f031b558272a136d657434ab6aa7f50
Author: Ruthvik Konda <[email protected]>
Date: 2026-04-28 (Tue, 28 Apr 2026)
Changed paths:
M Source/WebCore/Modules/notifications/Notification.cpp
M Source/WebCore/Modules/notifications/NotificationResourcesLoader.cpp
Log Message:
-----------
Use protect() instead of Ref { } in notifications code
https://bugs.webkit.org/show_bug.cgi?id=313257
rdar://175529244
Reviewed by Anne van Kesteren.
Mechanical migration from Ref { expr } to protect(expr) in notifications
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/notifications/Notification.cpp:
(WebCore::Notification::requestPermission):
* Source/WebCore/Modules/notifications/NotificationResourcesLoader.cpp:
(WebCore::NotificationResourcesLoader::ResourceLoader::cancel):
Canonical link: https://commits.webkit.org/312214@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications