Title: [229575] trunk/Source/WebKit
- Revision
- 229575
- Author
- jiewen_...@apple.com
- Date
- 2018-03-13 01:56:09 -0700 (Tue, 13 Mar 2018)
Log Message
Soft-link LocalAuthentication.Framework
https://bugs.webkit.org/show_bug.cgi?id=183587
<rdar://problem/38219763>
Reviewed by Brian Burg.
* UIProcess/CredentialManagement/cocoa/WebCredentialsMessengerProxyCocoa.mm:
(WebKit::WebCredentialsMessengerProxy::platformIsUserVerifyingPlatformAuthenticatorAvailable):
* WebKit.xcodeproj/project.pbxproj:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (229574 => 229575)
--- trunk/Source/WebKit/ChangeLog 2018-03-13 06:10:14 UTC (rev 229574)
+++ trunk/Source/WebKit/ChangeLog 2018-03-13 08:56:09 UTC (rev 229575)
@@ -1,3 +1,15 @@
+2018-03-13 Jiewen Tan <jiewen_...@apple.com>
+
+ Soft-link LocalAuthentication.Framework
+ https://bugs.webkit.org/show_bug.cgi?id=183587
+ <rdar://problem/38219763>
+
+ Reviewed by Brian Burg.
+
+ * UIProcess/CredentialManagement/cocoa/WebCredentialsMessengerProxyCocoa.mm:
+ (WebKit::WebCredentialsMessengerProxy::platformIsUserVerifyingPlatformAuthenticatorAvailable):
+ * WebKit.xcodeproj/project.pbxproj:
+
2018-03-12 Dean Jackson <d...@apple.com>
Add a WKWebViewContentProvider for system previews
Modified: trunk/Source/WebKit/UIProcess/CredentialManagement/cocoa/WebCredentialsMessengerProxyCocoa.mm (229574 => 229575)
--- trunk/Source/WebKit/UIProcess/CredentialManagement/cocoa/WebCredentialsMessengerProxyCocoa.mm 2018-03-13 06:10:14 UTC (rev 229574)
+++ trunk/Source/WebKit/UIProcess/CredentialManagement/cocoa/WebCredentialsMessengerProxyCocoa.mm 2018-03-13 08:56:09 UTC (rev 229575)
@@ -31,7 +31,11 @@
#import <LocalAuthentication/LocalAuthentication.h>
#import <WebCore/NotImplemented.h>
#import <wtf/RetainPtr.h>
+#import <wtf/SoftLinking.h>
+SOFT_LINK_FRAMEWORK(LocalAuthentication)
+SOFT_LINK_CLASS(LocalAuthentication, LAContext);
+
namespace WebKit {
void WebCredentialsMessengerProxy::platformIsUserVerifyingPlatformAuthenticatorAvailable(uint64_t messageId)
@@ -40,7 +44,7 @@
ASSERT_UNUSED(messageId, messageId);
notImplemented();
#else
- auto context = adoptNS([[LAContext alloc] init]);
+ auto context = adoptNS([allocLAContextInstance() init]);
NSError *error = nil;
if ([context canEvaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics error:&error])
Modified: trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj (229574 => 229575)
--- trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj 2018-03-13 06:10:14 UTC (rev 229574)
+++ trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj 2018-03-13 08:56:09 UTC (rev 229575)
@@ -1218,7 +1218,6 @@
53BA47D01DC2EF5E004DF4AD /* NetworkDataTaskBlob.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 539EB5461DC2EE40009D48CF /* NetworkDataTaskBlob.cpp */; };
53BA47D11DC2EF5E004DF4AD /* NetworkDataTaskBlob.h in Headers */ = {isa = PBXBuildFile; fileRef = 539EB5471DC2EE40009D48CF /* NetworkDataTaskBlob.h */; };
53DEA3661DDE423100E82648 /* json.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 53DEA3651DDE422E00E82648 /* json.hpp */; };
- 5750F32B2032D4E500389347 /* LocalAuthentication.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5750F32A2032D4E500389347 /* LocalAuthentication.framework */; };
5760828E2029895E00116678 /* WebCredentialsMessenger.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5760828C2029854200116678 /* WebCredentialsMessenger.cpp */; };
57608298202BD8BA00116678 /* WebCredentialsMessengerProxy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 57608296202BD8BA00116678 /* WebCredentialsMessengerProxy.cpp */; };
5760829C202D2C3C00116678 /* WebCredentialsMessengerMessageReceiver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5760829020298FBD00116678 /* WebCredentialsMessengerMessageReceiver.cpp */; };
@@ -4751,7 +4750,6 @@
files = (
3766F9EE189A1241003CF19B /* _javascript_Core.framework in Frameworks */,
3766F9F1189A1254003CF19B /* libicucore.dylib in Frameworks */,
- 5750F32B2032D4E500389347 /* LocalAuthentication.framework in Frameworks */,
3766F9EF189A1244003CF19B /* QuartzCore.framework in Frameworks */,
37694525184FC6B600CDE21F /* Security.framework in Frameworks */,
37BEC4DD1948FC6A008B4286 /* WebCore.framework in Frameworks */,
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes