Title: [207478] trunk/Source/WebKit2
Revision
207478
Author
commit-qu...@webkit.org
Date
2016-10-18 12:22:11 -0700 (Tue, 18 Oct 2016)

Log Message

Fix build for platforms where HAVE(LINK_PREVIEW) is false
https://bugs.webkit.org/show_bug.cgi?id=163607

Patch by Megan Gardner <megan_gard...@apple.com> on 2016-10-18
Reviewed by Tim Horton.

Added needed # for link preview

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _contentsOfUserInterfaceItem:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (207477 => 207478)


--- trunk/Source/WebKit2/ChangeLog	2016-10-18 19:19:45 UTC (rev 207477)
+++ trunk/Source/WebKit2/ChangeLog	2016-10-18 19:22:11 UTC (rev 207478)
@@ -1,3 +1,15 @@
+2016-10-18  Megan Gardner  <megan_gard...@apple.com>
+
+        Fix build for platforms where HAVE(LINK_PREVIEW) is false
+        https://bugs.webkit.org/show_bug.cgi?id=163607
+
+        Reviewed by Tim Horton.
+
+        Added needed # for link preview
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (-[WKContentView _contentsOfUserInterfaceItem:]):
+
 2016-10-18  Joseph Pecoraro  <pecor...@apple.com>
 
         Remote Web Inspector: Timeline UI not updating while recording

Modified: trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm (207477 => 207478)


--- trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm	2016-10-18 19:19:45 UTC (rev 207477)
+++ trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm	2016-10-18 19:22:11 UTC (rev 207478)
@@ -3848,11 +3848,13 @@
 {
     if ([userInterfaceItem isEqualToString:@"actionSheet"])
         return @{ userInterfaceItem: [_actionSheetAssistant currentAvailableActionTitles] };
-    
+
+#if HAVE(LINK_PREVIEW)
     if ([userInterfaceItem isEqualToString:@"linkPreviewPopoverContents"]) {
         NSString *url = "" previewData][UIPreviewDataLink];
         return @{ userInterfaceItem: @{ @"pageURL": url } };
     }
+#endif
     
     return nil;
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to