Title: [228082] branches/safari-605-branch/Source/WebKit/UIProcess/ios
Revision
228082
Author
jmarc...@apple.com
Date
2018-02-04 22:32:53 -0800 (Sun, 04 Feb 2018)

Log Message

Apply patch. rdar://problem/37145545

    Build fix.

Modified Paths

Diff

Modified: branches/safari-605-branch/Source/WebKit/UIProcess/ios/PageClientImplIOS.mm (228081 => 228082)


--- branches/safari-605-branch/Source/WebKit/UIProcess/ios/PageClientImplIOS.mm	2018-02-05 06:32:51 UTC (rev 228081)
+++ branches/safari-605-branch/Source/WebKit/UIProcess/ios/PageClientImplIOS.mm	2018-02-05 06:32:53 UTC (rev 228082)
@@ -823,7 +823,11 @@
 
 void PageClientImpl::prepareToDragPromisedBlob(const WebCore::PromisedBlobInfo& info)
 {
+#if ENABLE(DRAG_SUPPORT)
     [m_contentView _prepareToDragPromisedBlob:info];
+#else
+    UNUSED_PARAM(info);
+#endif
 }
 
 } // namespace WebKit

Modified: branches/safari-605-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.h (228081 => 228082)


--- branches/safari-605-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.h	2018-02-05 06:32:51 UTC (rev 228081)
+++ branches/safari-605-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.h	2018-02-05 06:32:53 UTC (rev 228082)
@@ -323,7 +323,7 @@
 - (void)doAfterPositionInformationUpdate:(void (^)(WebKit::InteractionInformationAtPosition))action forRequest:(WebKit::InteractionInformationRequest)request;
 - (BOOL)ensurePositionInformationIsUpToDate:(WebKit::InteractionInformationRequest)request;
 
-#if ENABLE(DATA_INTERACTION)
+#if ENABLE(DRAG_SUPPORT)
 - (void)_didChangeDragInteractionPolicy;
 - (void)_didPerformDataInteractionControllerOperation:(BOOL)handled;
 - (void)_didHandleStartDataInteractionRequest:(BOOL)started;
@@ -332,7 +332,7 @@
 - (void)_didConcludeEditDataInteraction:(std::optional<WebCore::TextIndicatorData>)data;
 - (void)_didChangeDataInteractionCaretRect:(CGRect)previousRect currentRect:(CGRect)rect;
 - (void)_prepareToDragPromisedBlob:(const WebCore::PromisedBlobInfo&)info;
-#endif
+#endif // ENABLE(DRAG_SUPPORT)
 
 @end
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to