Title: [284909] branches/safari-612-branch/Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm
Revision
284909
Author
alanc...@apple.com
Date
2021-10-26 16:13:45 -0700 (Tue, 26 Oct 2021)

Log Message

Unreviewed build fix. rdar://84625267

error: no viable constructor or deduction guide for deduction of template arguments of 'WeakPtr'

Modified Paths

Diff

Modified: branches/safari-612-branch/Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm (284908 => 284909)


--- branches/safari-612-branch/Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm	2021-10-26 23:13:43 UTC (rev 284908)
+++ branches/safari-612-branch/Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm	2021-10-26 23:13:45 UTC (rev 284909)
@@ -236,7 +236,7 @@
             return excludeCredentialIds.contains(base64EncodeToString(rawId->data(), rawId->byteLength()));
         })) {
             // Obtain consent per Step 3.1
-            auto callback = [weakThis = WeakPtr { *this }] (LocalAuthenticatorPolicy policy) {
+            auto callback = [weakThis = makeWeakPtr(*this)] (LocalAuthenticatorPolicy policy) {
                 ASSERT(RunLoop::isMain());
                 if (!weakThis)
                     return;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to