Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 93bc07f1e0c653f91430e28478b230da4feb81ad
https://github.com/WebKit/WebKit/commit/93bc07f1e0c653f91430e28478b230da4feb81ad
Author: Ruthvik Konda <[email protected]>
Date: 2026-04-24 (Fri, 24 Apr 2026)
Changed paths:
M Source/WebCore/Modules/highlight/HighlightRegistry.cpp
M Source/WebCore/Modules/permissions/Permissions.cpp
M Source/WebCore/Modules/webauthn/fido/DeviceResponseConverter.cpp
Log Message:
-----------
Use protect() instead of Ref { } in permissions, highlight, and webauthn code
https://bugs.webkit.org/show_bug.cgi?id=313256
rdar://175528813
Reviewed by Anne van Kesteren.
Mechanical migration from Ref { expr } to protect(expr) in permissions,
highlight registry, and webauthn 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/highlight/HighlightRegistry.cpp:
(WebCore::HighlightRegistry::setHighlightVisibility):
(WebCore::HighlightRegistry::addAnnotationHighlightWithRange):
* Source/WebCore/Modules/permissions/Permissions.cpp:
(WebCore::Permissions::query):
* Source/WebCore/Modules/webauthn/fido/DeviceResponseConverter.cpp:
(fido::readCBOR):
Canonical link: https://commits.webkit.org/312004@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications