Index: ui/views/view.cc |
diff --git a/ui/views/view.cc b/ui/views/view.cc |
index 0e733ad6a898f01863c3eccbda30c5de2bc15237..79bebf986a32e2c7fbda1a95230fe7e8f1d500c1 100644 |
--- a/ui/views/view.cc |
+++ b/ui/views/view.cc |
@@ -2412,6 +2412,10 @@ bool View::DoDrag(const ui::LocatedEvent& event, |
OSExchangeData data; |
WriteDragData(press_pt, &data); |
+#if defined(OS_MACOSX) |
+ data.provider().SetNativeEvent(event.native_event()); |
tapted
2016/05/11 12:36:15
This looks funny, but might be justified. It would
spqchan
2016/05/23 21:26:21
I tried out the ideas you suggested but I think th
|
+#endif |
+ |
// Message the RootView to do the drag and drop. That way if we're removed |
// the RootView can detect it and avoid calling us back. |
gfx::Point widget_location(event.location()); |