Title: [250751] trunk/Source/WebKit
Revision
250751
Author
[email protected]
Date
2019-10-04 15:22:38 -0700 (Fri, 04 Oct 2019)

Log Message

Unreviewed, build fix after r250729

* UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm:
* UIProcess/API/Cocoa/_WKWebAuthenticationPanelInternal.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (250750 => 250751)


--- trunk/Source/WebKit/ChangeLog	2019-10-04 22:20:57 UTC (rev 250750)
+++ trunk/Source/WebKit/ChangeLog	2019-10-04 22:22:38 UTC (rev 250751)
@@ -1,3 +1,10 @@
+2019-10-04  Jiewen Tan  <[email protected]>
+
+        Unreviewed, build fix after r250729
+
+        * UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm:
+        * UIProcess/API/Cocoa/_WKWebAuthenticationPanelInternal.h:
+
 2019-10-04  Keith Rollin  <[email protected]>
 
         Fix determination of the top-level resource

Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm (250750 => 250751)


--- trunk/Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm	2019-10-04 22:20:57 UTC (rev 250750)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm	2019-10-04 22:22:38 UTC (rev 250751)
@@ -30,9 +30,13 @@
 #import <wtf/RetainPtr.h>
 
 @implementation _WKWebAuthenticationPanel {
+#if ENABLE(WEB_AUTHN)
     WeakPtr<WebKit::WebAuthenticationPanelClient> _client;
+#endif
 }
 
+#if ENABLE(WEB_AUTHN)
+
 - (void)dealloc
 {
     _panel->~WebAuthenticationPanel();
@@ -59,10 +63,13 @@
     _panel->setClient(WTFMove(client));
 }
 
+#endif // ENABLE(WEB_AUTHN)
+
 - (void)cancel
 {
 }
 
+#if ENABLE(WEB_AUTHN)
 #pragma mark WKObject protocol implementation
 
 - (API::Object&)_apiObject
@@ -69,5 +76,6 @@
 {
     return *_panel;
 }
+#endif
 
 @end

Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanelInternal.h (250750 => 250751)


--- trunk/Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanelInternal.h	2019-10-04 22:20:57 UTC (rev 250750)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanelInternal.h	2019-10-04 22:22:38 UTC (rev 250751)
@@ -27,6 +27,8 @@
 
 #import "_WKWebAuthenticationPanel.h"
 
+#if ENABLE(WEB_AUTHN)
+
 #import "APIWebAuthenticationPanel.h"
 #import "WKObject.h"
 
@@ -43,3 +45,5 @@
     API::ObjectStorage<API::WebAuthenticationPanel> _panel;
 }
 @end
+
+#endif // ENABLE(WEB_AUTHN)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to