diff options
Diffstat (limited to 'chrome/browser/automation/ui_controls.cc')
-rw-r--r-- | chrome/browser/automation/ui_controls.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/automation/ui_controls.cc b/chrome/browser/automation/ui_controls.cc index 9fe42201..ab5f572 100644 --- a/chrome/browser/automation/ui_controls.cc +++ b/chrome/browser/automation/ui_controls.cc @@ -336,9 +336,9 @@ void MoveMouseToCenterAndPress( ChromeViews::View* view, MouseButton button, int state, Task* task) { DCHECK(view); DCHECK(view->GetViewContainer()); - CPoint view_center(view->width() / 2, view->height() / 2); + gfx::Point view_center(view->width() / 2, view->height() / 2); ChromeViews::View::ConvertPointToScreen(view, &view_center); - SendMouseMove(view_center.x, view_center.y); + SendMouseMove(view_center.x(), view_center.y()); SendMouseEventsNotifyWhenDone(button, state, task); } |