| Index: ash/tooltips/tooltip_controller.cc
|
| diff --git a/ash/tooltips/tooltip_controller.cc b/ash/tooltips/tooltip_controller.cc
|
| index df4f86291ed1a90c87e4690896d0116276292481..eea9eb3413de72cb5efb0927b921c8d676688622 100644
|
| --- a/ash/tooltips/tooltip_controller.cc
|
| +++ b/ash/tooltips/tooltip_controller.cc
|
| @@ -8,12 +8,12 @@
|
|
|
| #include "ash/ash_switches.h"
|
| #include "ash/shell.h"
|
| +#include "ash/wm/cursor_manager.h"
|
| #include "base/command_line.h"
|
| #include "base/location.h"
|
| #include "base/string_split.h"
|
| #include "base/time.h"
|
| #include "ui/aura/client/drag_drop_client.h"
|
| -#include "ui/aura/cursor_manager.h"
|
| #include "ui/aura/env.h"
|
| #include "ui/aura/event.h"
|
| #include "ui/aura/root_window.h"
|
| @@ -404,7 +404,7 @@ void TooltipController::TooltipShownTimerFired() {
|
|
|
| void TooltipController::UpdateIfRequired() {
|
| if (!tooltips_enabled_ || mouse_pressed_ || IsDragDropInProgress() ||
|
| - !aura::Env::GetInstance()->cursor_manager()->cursor_visible()) {
|
| + !ash::Shell::GetInstance()->cursor_manager()->cursor_visible()) {
|
| tooltip_->Hide();
|
| return;
|
| }
|
|
|