| Index: ash/tooltips/tooltip_controller.cc
|
| diff --git a/ash/tooltips/tooltip_controller.cc b/ash/tooltips/tooltip_controller.cc
|
| index 4798cd33ecf009ab174d5c0bb0e733c1fe2d91ce..f05cae65ad8abb9dbb4d0b44b9df41fd22da1374 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"
|
| @@ -376,7 +376,7 @@ void TooltipController::TooltipTimerFired() {
|
|
|
| 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;
|
| }
|
|
|