| Index: ash/tooltips/tooltip_controller_unittest.cc
|
| diff --git a/ash/tooltips/tooltip_controller_unittest.cc b/ash/tooltips/tooltip_controller_unittest.cc
|
| index 1665f1a5afdf33ff527ae92a4af3afd419e2b42b..c2301f567d60bc59298b2019dd8f45e84e41a6e7 100644
|
| --- a/ash/tooltips/tooltip_controller_unittest.cc
|
| +++ b/ash/tooltips/tooltip_controller_unittest.cc
|
| @@ -5,9 +5,9 @@
|
| #include "ash/shell.h"
|
| #include "ash/test/ash_test_base.h"
|
| #include "ash/tooltips/tooltip_controller.h"
|
| +#include "ash/wm/cursor_manager.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "ui/aura/client/tooltip_client.h"
|
| -#include "ui/aura/cursor_manager.h"
|
| #include "ui/aura/env.h"
|
| #include "ui/aura/root_window.h"
|
| #include "ui/aura/test/event_generator.h"
|
| @@ -246,12 +246,12 @@ TEST_F(TooltipControllerTest, HideTooltipWhenCursorHidden) {
|
| EXPECT_TRUE(IsTooltipVisible());
|
|
|
| // Hide the cursor and check again.
|
| - aura::Env::GetInstance()->cursor_manager()->ShowCursor(false);
|
| + ash::Shell::GetInstance()->cursor_manager()->ShowCursor(false);
|
| FireTooltipTimer();
|
| EXPECT_FALSE(IsTooltipVisible());
|
|
|
| // Show the cursor and re-check.
|
| - aura::Env::GetInstance()->cursor_manager()->ShowCursor(true);
|
| + ash::Shell::GetInstance()->cursor_manager()->ShowCursor(true);
|
| FireTooltipTimer();
|
| EXPECT_TRUE(IsTooltipVisible());
|
| }
|
|
|