Build fix for iOS.
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 May 2019 19:38:58 +0000 (19:38 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 May 2019 19:38:58 +0000 (19:38 +0000)
* UIProcess/WKImagePreviewViewController.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245150 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/WKImagePreviewViewController.mm

index 7107bfe..3406c09 100644 (file)
@@ -1,3 +1,9 @@
+2019-05-09  Dean Jackson  <dino@apple.com>
+
+        Build fix for iOS.
+
+        * UIProcess/WKImagePreviewViewController.mm:
+
 2019-05-09  Alex Christensen  <achristensen@webkit.org>
 
         Remove unnecessary test SPI after r244883
index b6a3436..79383d2 100644 (file)
@@ -32,6 +32,7 @@
 #import <WebCore/IntSize.h>
 #import <_WKElementAction.h>
 
+#if HAVE(LINK_PREVIEW)
 #if USE(APPLE_INTERNAL_SDK) && __has_include(<WebKitAdditions/WKImagePreviewViewControllerAdditions.mm>)
 #include <WebKitAdditions/WKImagePreviewViewControllerAdditions.mm>
 #else
@@ -39,6 +40,7 @@ static void setAdditionalPreviewActionInfo(UIPreviewAction *, _WKElementAction *
 {
 }
 #endif
+#endif
 
 @implementation WKImagePreviewViewController {
     RetainPtr<CGImageRef> _image;