Index: ui/views/widget/drop_helper.cc |
=================================================================== |
--- ui/views/widget/drop_helper.cc (revision 151267) |
+++ ui/views/widget/drop_helper.cc (working copy) |
@@ -62,7 +62,7 @@ |
gfx::Point view_location(root_view_location); |
View* root_view = drop_view->GetWidget()->GetRootView(); |
- View::ConvertPointToView(root_view, drop_view, &view_location); |
+ View::ConvertPointToTarget(root_view, drop_view, &view_location); |
DropTargetEvent drop_event(data, view_location.x(), view_location.y(), |
drag_operation); |
return drop_view->OnPerformDrop(drop_event); |
@@ -125,7 +125,7 @@ |
return; |
gfx::Point target_view_location(root_view_location); |
- View::ConvertPointToView(root_view_, target_view_, &target_view_location); |
+ View::ConvertPointToTarget(root_view_, target_view_, &target_view_location); |
DropTargetEvent enter_event(data, |
target_view_location.x(), |
target_view_location.y(), |
@@ -140,7 +140,7 @@ |
return ui::DragDropTypes::DRAG_NONE; |
gfx::Point target_view_location(root_view_location); |
- View::ConvertPointToView(root_view_, target_view_, &target_view_location); |
+ View::ConvertPointToTarget(root_view_, target_view_, &target_view_location); |
DropTargetEvent enter_event(data, |
target_view_location.x(), |
target_view_location.y(), |