diff options
Diffstat (limited to 'chrome/browser/automation/ui_controls.cc')
-rw-r--r-- | chrome/browser/automation/ui_controls.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/automation/ui_controls.cc b/chrome/browser/automation/ui_controls.cc index c557ff7..58b85f6 100644 --- a/chrome/browser/automation/ui_controls.cc +++ b/chrome/browser/automation/ui_controls.cc @@ -335,7 +335,7 @@ bool SendMouseClick(MouseButton type) { void MoveMouseToCenterAndPress(views::View* view, MouseButton button, int state, Task* task) { DCHECK(view); - DCHECK(view->GetContainer()); + DCHECK(view->GetWidget()); gfx::Point view_center(view->width() / 2, view->height() / 2); views::View::ConvertPointToScreen(view, &view_center); SendMouseMove(view_center.x(), view_center.y()); |