Title: [241972] branches/safari-607-branch/Source/WebCore/page/mac/DragControllerMac.mm
Revision
241972
Author
[email protected]
Date
2019-02-22 16:54:04 -0800 (Fri, 22 Feb 2019)

Log Message

Unreviwed build fix. rdar://problem/47289624

Modified Paths


Diff

Modified: branches/safari-607-branch/Source/WebCore/page/mac/DragControllerMac.mm (241971 => 241972)


--- branches/safari-607-branch/Source/WebCore/page/mac/DragControllerMac.mm	2019-02-23 00:48:16 UTC (rev 241971)
+++ branches/safari-607-branch/Source/WebCore/page/mac/DragControllerMac.mm	2019-02-23 00:54:04 UTC (rev 241972)
@@ -114,8 +114,7 @@
 #endif
 }
 
-#if ENABLE(DATA_INTERACTION)
-
+#if PLATFORM(IOS_FAMILY)
 DragOperation DragController::platformGenericDragOperation()
 {
     // On iOS, UIKit skips the -performDrop invocation altogether if MOVE is forbidden.
@@ -122,7 +121,9 @@
     // Thus, if MOVE is not allowed in the drag source operation mask, fall back to only other allowable action, COPY.
     return DragOperationCopy;
 }
+#endif
 
+#if ENABLE(DATA_INTERACTION)
 void DragController::updateSupportedTypeIdentifiersForDragHandlingMethod(DragHandlingMethod dragHandlingMethod, const DragData& dragData) const
 {
     Vector<String> supportedTypes;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to