Index: ash/tooltips/tooltip_controller_unittest.cc |
diff --git a/ash/tooltips/tooltip_controller_unittest.cc b/ash/tooltips/tooltip_controller_unittest.cc |
index a4b2be3aebfaa282f68790149b5cd67ba17818c7..4426654ec4073ac8979b89e886d6ecd49c511bfb 100644 |
--- a/ash/tooltips/tooltip_controller_unittest.cc |
+++ b/ash/tooltips/tooltip_controller_unittest.cc |
@@ -267,12 +267,12 @@ TEST_F(TooltipControllerTest, HideTooltipWhenCursorHidden) { |
EXPECT_TRUE(IsTooltipVisible()); |
// Hide the cursor and check again. |
- ash::Shell::GetInstance()->cursor_manager()->ShowCursor(false); |
+ ash::Shell::GetInstance()->cursor_manager()->DisableMouseEvents(); |
FireTooltipTimer(); |
EXPECT_FALSE(IsTooltipVisible()); |
// Show the cursor and re-check. |
- ash::Shell::GetInstance()->cursor_manager()->ShowCursor(true); |
+ ash::Shell::GetInstance()->cursor_manager()->EnableMouseEvents(); |
FireTooltipTimer(); |
EXPECT_TRUE(IsTooltipVisible()); |
} |