| Index: ash/autoclick/autoclick_controller.cc
|
| diff --git a/ash/autoclick/autoclick_controller.cc b/ash/autoclick/autoclick_controller.cc
|
| index ed1b58000f5a7c5e537cb22c7ee6f0cf8275218e..47846dcaa5aeea29c7d3746c709a2f1f3662f220 100644
|
| --- a/ash/autoclick/autoclick_controller.cc
|
| +++ b/ash/autoclick/autoclick_controller.cc
|
| @@ -5,7 +5,8 @@
|
| #include "ash/autoclick/autoclick_controller.h"
|
|
|
| #include "ash/shell.h"
|
| -#include "ash/wm/coordinate_conversion.h"
|
| +#include "ash/wm/aura/wm_window_aura.h"
|
| +#include "ash/wm/common/root_window_finder.h"
|
| #include "base/timer/timer.h"
|
| #include "ui/aura/env.h"
|
| #include "ui/aura/window_tree_host.h"
|
| @@ -178,7 +179,8 @@ void AutoclickControllerImpl::OnScrollEvent(ui::ScrollEvent* event) {
|
| void AutoclickControllerImpl::DoAutoclick() {
|
| gfx::Point screen_location =
|
| aura::Env::GetInstance()->last_mouse_location();
|
| - aura::Window* root_window = wm::GetRootWindowAt(screen_location);
|
| + aura::Window* root_window =
|
| + wm::WmWindowAura::GetAuraWindow(wm::GetRootWindowAt(screen_location));
|
| DCHECK(root_window) << "Root window not found while attempting autoclick.";
|
|
|
| gfx::Point click_location(screen_location);
|
|
|