Index: ash/tooltips/tooltip_controller_unittest.cc |
diff --git a/ash/tooltips/tooltip_controller_unittest.cc b/ash/tooltips/tooltip_controller_unittest.cc |
index 8a31c327556005ba8248ed3bac892b5ffe3336f6..31807cafec3883d946cd0d9d5f60cf582faaa155 100644 |
--- a/ash/tooltips/tooltip_controller_unittest.cc |
+++ b/ash/tooltips/tooltip_controller_unittest.cc |
@@ -267,13 +267,13 @@ TEST_F(TooltipControllerTest, HideTooltipWhenCursorHidden) { |
FireTooltipTimer(); |
EXPECT_TRUE(IsTooltipVisible()); |
- // Hide the cursor and check again. |
- ash::Shell::GetInstance()->cursor_manager()->ShowCursor(false); |
+ // Disable the cursor and check again. |
+ ash::Shell::GetInstance()->cursor_manager()->EnableCursor(false); |
FireTooltipTimer(); |
EXPECT_FALSE(IsTooltipVisible()); |
- // Show the cursor and re-check. |
- ash::Shell::GetInstance()->cursor_manager()->ShowCursor(true); |
+ // Enable the cursor and re-check. |
+ ash::Shell::GetInstance()->cursor_manager()->EnableCursor(true); |
FireTooltipTimer(); |
EXPECT_TRUE(IsTooltipVisible()); |
} |