Index: chrome/browser/automation/testing_automation_provider_views.cc |
=================================================================== |
--- chrome/browser/automation/testing_automation_provider_views.cc (revision 151267) |
+++ chrome/browser/automation/testing_automation_provider_views.cc (working copy) |
@@ -27,7 +27,7 @@ |
if (screen_coordinates) |
views::View::ConvertPointToScreen(view, &point); |
else |
- views::View::ConvertPointToView(view, root_view, &point); |
+ views::View::ConvertPointToTarget(view, root_view, &point); |
*bounds = view->GetContentsBounds(); |
bounds->set_origin(point); |
} |