Title: [270721] trunk/Source/WebKit
Revision
270721
Author
[email protected]
Date
2020-12-11 16:58:40 -0800 (Fri, 11 Dec 2020)

Log Message

Unreviewed, build fix after r270694

* UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm:
(WebKit::AuthenticatorPresenterCoordinator::AuthenticatorPresenterCoordinator):
Adds a instance method guard for new SPI.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (270720 => 270721)


--- trunk/Source/WebKit/ChangeLog	2020-12-12 00:57:14 UTC (rev 270720)
+++ trunk/Source/WebKit/ChangeLog	2020-12-12 00:58:40 UTC (rev 270721)
@@ -1,3 +1,11 @@
+2020-12-11  Jiewen Tan  <[email protected]>
+
+        Unreviewed, build fix after r270694
+
+        * UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm:
+        (WebKit::AuthenticatorPresenterCoordinator::AuthenticatorPresenterCoordinator):
+        Adds a instance method guard for new SPI.
+
 2020-12-11  Jer Noble  <[email protected]>
 
         [Cocoa] Add Experimental VP8 support

Modified: trunk/Source/WebKit/UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm (270720 => 270721)


--- trunk/Source/WebKit/UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm	2020-12-12 00:57:14 UTC (rev 270720)
+++ trunk/Source/WebKit/UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm	2020-12-12 00:58:40 UTC (rev 270721)
@@ -43,7 +43,8 @@
 {
 #if HAVE(ASC_AUTH_UI)
     auto presentationContext = adoptNS([allocASCAuthorizationPresentationContextInstance() initWithRequestContext:nullptr appIdentifier:nullptr]);
-    [presentationContext setRelyingPartyIdentifier: rpId];
+    if ([getASCAuthorizationPresentationContextClass() instancesRespondToSelector:@selector(setServiceName:)])
+        [presentationContext setServiceName:rpId];
 
     switch (type) {
     case ClientDataType::Create:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to