Title: [291083] branches/safari-613-branch/Source/WebCore/Modules/webauthn/AuthenticatorCoordinator.cpp
Revision
291083
Author
repst...@apple.com
Date
2022-03-09 18:05:03 -0800 (Wed, 09 Mar 2022)

Log Message

Unreivewed build fix. rdar://89376484

./Modules/webauthn/AuthenticatorCoordinator.cpp:144:50: error: no member named 'findIf' in 'WTF::Vector<WebCore::PublicKeyCredentialCreationOptions::Parameters, 0, WTF::CrashOnOverflow, 16>'; did you mean 'find'?

Modified Paths

Diff

Modified: branches/safari-613-branch/Source/WebCore/Modules/webauthn/AuthenticatorCoordinator.cpp (291082 => 291083)


--- branches/safari-613-branch/Source/WebCore/Modules/webauthn/AuthenticatorCoordinator.cpp	2022-03-10 02:02:18 UTC (rev 291082)
+++ branches/safari-613-branch/Source/WebCore/Modules/webauthn/AuthenticatorCoordinator.cpp	2022-03-10 02:05:03 UTC (rev 291083)
@@ -141,7 +141,7 @@
         options.pubKeyCredParams.append({ PublicKeyCredentialType::PublicKey, COSE::ES256 });
         options.pubKeyCredParams.append({ PublicKeyCredentialType::PublicKey, COSE::RS256 });
     } else {
-        if (notFound != options.pubKeyCredParams.findIf([] (auto& pubKeyCredParam) {
+        if (notFound != options.pubKeyCredParams.findMatching([] (auto& pubKeyCredParam) {
             return pubKeyCredParam.type != PublicKeyCredentialType::PublicKey;
         })) {
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to