Index: ui/views/widget/drop_target_win.cc |
=================================================================== |
--- ui/views/widget/drop_target_win.cc (revision 151267) |
+++ ui/views/widget/drop_target_win.cc (working copy) |
@@ -33,7 +33,7 @@ |
POINT cursor_position, |
DWORD effect) { |
gfx::Point root_view_location(cursor_position.x, cursor_position.y); |
- View::ConvertPointToView(NULL, helper_.root_view(), &root_view_location); |
+ View::ConvertPointToTarget(NULL, helper_.root_view(), &root_view_location); |
OSExchangeData data(new OSExchangeDataProviderWin(data_object)); |
int drop_operation = |
helper_.OnDragOver(data, root_view_location, |
@@ -50,7 +50,7 @@ |
POINT cursor_position, |
DWORD effect) { |
gfx::Point root_view_location(cursor_position.x, cursor_position.y); |
- View::ConvertPointToView(NULL, helper_.root_view(), &root_view_location); |
+ View::ConvertPointToTarget(NULL, helper_.root_view(), &root_view_location); |
OSExchangeData data(new OSExchangeDataProviderWin(data_object)); |
int drop_operation = ui::DragDropTypes::DropEffectToDragOperation(effect); |