Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: acecc70c238299e5724c7ea79eaafc475fdacfab
https://github.com/WebKit/WebKit/commit/acecc70c238299e5724c7ea79eaafc475fdacfab
Author: Marcos Caceres <[email protected]>
Date: 2026-04-08 (Wed, 08 Apr 2026)
Changed paths:
M Source/WebCore/Modules/credentialmanagement/CredentialsContainer.cpp
M Source/WebCore/Modules/credentialmanagement/CredentialsContainer.h
Log Message:
-----------
CredentialsContainer: performCommonChecks() should take const Document&
instead of acquiring it internally
https://bugs.webkit.org/show_bug.cgi?id=311707
rdar://174293959
Reviewed by Chris Dumez.
Change performCommonChecks() to a static free function that takes
const Document& and returns bool. Callers acquire and null-check the
document themselves before calling it. This keeps the function name
semantically consistent, avoids ref churn, and removes the function
from the header entirely.
* Source/WebCore/Modules/credentialmanagement/CredentialsContainer.cpp:
* Source/WebCore/Modules/credentialmanagement/CredentialsContainer.h:
Canonical link: https://commits.webkit.org/310779@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications