Changeset 270721 in webkit


Ignore:
Timestamp:
Dec 11, 2020 4:58:40 PM (3 years ago)
Author:
jiewen_tan@apple.com
Message:

Unreviewed, build fix after r270694

  • UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm:

(WebKit::AuthenticatorPresenterCoordinator::AuthenticatorPresenterCoordinator):
Adds a instance method guard for new SPI.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r270720 r270721  
     12020-12-11  Jiewen Tan  <jiewen_tan@apple.com>
     2
     3        Unreviewed, build fix after r270694
     4
     5        * UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm:
     6        (WebKit::AuthenticatorPresenterCoordinator::AuthenticatorPresenterCoordinator):
     7        Adds a instance method guard for new SPI.
     8
    192020-12-11  Jer Noble  <jer.noble@apple.com>
    210
  • trunk/Source/WebKit/UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm

    r270694 r270721  
    4444#if HAVE(ASC_AUTH_UI)
    4545    auto presentationContext = adoptNS([allocASCAuthorizationPresentationContextInstance() initWithRequestContext:nullptr appIdentifier:nullptr]);
    46     [presentationContext setRelyingPartyIdentifier: rpId];
     46    if ([getASCAuthorizationPresentationContextClass() instancesRespondToSelector:@selector(setServiceName:)])
     47        [presentationContext setServiceName:rpId];
    4748
    4849    switch (type) {
Note: See TracChangeset for help on using the changeset viewer.