Title: [229382] trunk/Source/WebKit
Revision
229382
Author
d...@apple.com
Date
2018-03-07 16:18:10 -0800 (Wed, 07 Mar 2018)

Log Message

Try to fix build for watchOS and tvOS.

* UIProcess/Cocoa/SystemPreviewControllerCocoa.mm:
* UIProcess/SystemPreviewController.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (229381 => 229382)


--- trunk/Source/WebKit/ChangeLog	2018-03-08 00:16:54 UTC (rev 229381)
+++ trunk/Source/WebKit/ChangeLog	2018-03-08 00:18:10 UTC (rev 229382)
@@ -1,5 +1,12 @@
 2018-03-07  Dean Jackson  <d...@apple.com>
 
+        Try to fix build for watchOS and tvOS.
+
+        * UIProcess/Cocoa/SystemPreviewControllerCocoa.mm:
+        * UIProcess/SystemPreviewController.cpp:
+
+2018-03-07  Dean Jackson  <d...@apple.com>
+
         Add SystemPreviewController for showing system-level views of special file types
         https://bugs.webkit.org/show_bug.cgi?id=183413
         <rdar://problem/37800834>

Modified: trunk/Source/WebKit/UIProcess/Cocoa/SystemPreviewControllerCocoa.mm (229381 => 229382)


--- trunk/Source/WebKit/UIProcess/Cocoa/SystemPreviewControllerCocoa.mm	2018-03-08 00:16:54 UTC (rev 229381)
+++ trunk/Source/WebKit/UIProcess/Cocoa/SystemPreviewControllerCocoa.mm	2018-03-08 00:18:10 UTC (rev 229382)
@@ -26,7 +26,7 @@
 #import "config.h"
 #import "SystemPreviewController.h"
 
-#if PLATFORM(IOS)
+#if PLATFORM(IOS) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV)
 
 #import "APIUIClient.h"
 #import "WebPageProxy.h"

Modified: trunk/Source/WebKit/UIProcess/SystemPreviewController.cpp (229381 => 229382)


--- trunk/Source/WebKit/UIProcess/SystemPreviewController.cpp	2018-03-08 00:16:54 UTC (rev 229381)
+++ trunk/Source/WebKit/UIProcess/SystemPreviewController.cpp	2018-03-08 00:18:10 UTC (rev 229382)
@@ -34,7 +34,7 @@
     (void)m_webPageProxy; // This will be used eventually. Using it here to keep the compiler from complaining.
 }
 
-#if !PLATFORM(IOS)
+#if !PLATFORM(IOS) || PLATFORM(WATCHOS) || PLATFORM(APPLETV)
 bool SystemPreviewController::canPreview(const String&) const
 {
     return false;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to