Title: [211893] trunk/Source/WebKit2
Revision
211893
Author
[email protected]
Date
2017-02-08 12:40:32 -0800 (Wed, 08 Feb 2017)

Log Message

Unreviewed build fix; FullscreenClient only avaialble on 32-bit builds.

* UIProcess/Cocoa/WebViewImpl.mm:
(WebKit::WebViewImpl::WebViewImpl):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (211892 => 211893)


--- trunk/Source/WebKit2/ChangeLog	2017-02-08 20:24:37 UTC (rev 211892)
+++ trunk/Source/WebKit2/ChangeLog	2017-02-08 20:40:32 UTC (rev 211893)
@@ -1,5 +1,12 @@
 2017-02-08  Jer Noble  <[email protected]>
 
+        Unreviewed build fix; FullscreenClient only avaialble on 32-bit builds.
+
+        * UIProcess/Cocoa/WebViewImpl.mm:
+        (WebKit::WebViewImpl::WebViewImpl):
+
+2017-02-08  Jer Noble  <[email protected]>
+
         Move FullscreenClient creation into WebViewImpl, for use in (deprecated) WKView.
         https://bugs.webkit.org/show_bug.cgi?id=168007
 

Modified: trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm (211892 => 211893)


--- trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm	2017-02-08 20:24:37 UTC (rev 211892)
+++ trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm	2017-02-08 20:40:32 UTC (rev 211893)
@@ -1268,7 +1268,7 @@
     // Explicitly set the layer contents placement so AppKit will make sure that our layer has masksToBounds set to YES.
     m_view.layerContentsPlacement = NSViewLayerContentsPlacementTopLeft;
 
-#if ENABLE(FULLSCREEN_API)
+#if ENABLE(FULLSCREEN_API) && WK_API_ENABLED
     m_page->setFullscreenClient(std::make_unique<WebKit::FullscreenClient>((WKWebView *)m_view));
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to