Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Unified Diff: ui/views/widget/drop_helper.cc

Issue 1964283002: MacViews: Implemented Drag & Drop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forgot to add the test Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/widget/drop_helper.cc
diff --git a/ui/views/widget/drop_helper.cc b/ui/views/widget/drop_helper.cc
index 540301a61aae2fc7644c88d6166add19288d4bd6..04df26a94fdf01c6dd8e71d0cefef7b9488ec8be 100644
--- a/ui/views/widget/drop_helper.cc
+++ b/ui/views/widget/drop_helper.cc
@@ -63,6 +63,8 @@ int DropHelper::OnDrop(const OSExchangeData& data,
gfx::Point view_location(root_view_location);
View* root_view = drop_view->GetWidget()->GetRootView();
+ root_view = root_view_;
tapted 2016/05/24 08:06:02 Ah, BridgedNativeWidgetTestBase does some weird st
spqchan 2016/05/26 01:56:55 Done.
+
View::ConvertPointToTarget(root_view, drop_view, &view_location);
ui::DropTargetEvent drop_event(data, view_location, view_location,
drag_operation);

Powered by Google App Engine
This is Rietveld 408576698