Title: [257891] trunk/Source/WebKit
Revision
257891
Author
jiewen_...@apple.com
Date
2020-03-04 17:02:51 -0800 (Wed, 04 Mar 2020)

Log Message

Unreviewed, a build fix after r257877

* UIProcess/WebAuthentication/Cocoa/LocalConnection.mm:
(WebKit::LocalConnection::verifyUser const):
Restricts LAOptionPasscodeTitle to iOS for now.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (257890 => 257891)


--- trunk/Source/WebKit/ChangeLog	2020-03-04 23:31:22 UTC (rev 257890)
+++ trunk/Source/WebKit/ChangeLog	2020-03-05 01:02:51 UTC (rev 257891)
@@ -1,3 +1,11 @@
+2020-03-04  Jiewen Tan  <jiewen_...@apple.com>
+
+        Unreviewed, a build fix after r257877
+
+        * UIProcess/WebAuthentication/Cocoa/LocalConnection.mm:
+        (WebKit::LocalConnection::verifyUser const):
+        Restricts LAOptionPasscodeTitle to iOS for now.
+
 2020-03-04  Chris Dumez  <cdu...@apple.com>
 
         Adopt new and improved CFNetwork SPI for cookie change notifications

Modified: trunk/Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalConnection.mm (257890 => 257891)


--- trunk/Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalConnection.mm	2020-03-04 23:31:22 UTC (rev 257890)
+++ trunk/Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalConnection.mm	2020-03-05 01:02:51 UTC (rev 257891)
@@ -47,7 +47,9 @@
     auto options = adoptNS([[NSMutableDictionary alloc] init]);
     if ([context biometryType] == LABiometryTypeTouchID)
         [options setObject:WebCore::touchIDPromptTitle() forKey:@(LAOptionAuthenticationTitle)];
+#if PLATFORM(iOS)
     [options setObject:WebCore::biometricFallbackPromptTitle() forKey:@(LAOptionPasscodeTitle)];
+#endif
 
     auto reply = makeBlockPtr([context, completionHandler = WTFMove(completionHandler)] (NSDictionary *, NSError *error) mutable {
         ASSERT(!RunLoop::isMain());
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to