| Index: ash/wm/window_manager_unittest.cc
|
| diff --git a/ash/wm/window_manager_unittest.cc b/ash/wm/window_manager_unittest.cc
|
| index 6bfd26d46a2354ea393e3632ec83276e95328ae9..445dd986dcaed400a599dad2091deb9564cbec16 100644
|
| --- a/ash/wm/window_manager_unittest.cc
|
| +++ b/ash/wm/window_manager_unittest.cc
|
| @@ -659,9 +659,9 @@ TEST_F(WindowManagerTest, UpdateCursorVisibility) {
|
| root_window->AsRootWindowHostDelegate()->OnHostTouchEvent(&touch_released1);
|
| EXPECT_TRUE(cursor_manager->IsCursorVisible());
|
|
|
| - // If someone else made cursor invisible keep it invisible even after it
|
| + // If someone else made cursor disabled keep it invisible even after it
|
| // received mouse events.
|
| - cursor_manager->ShowCursor(false);
|
| + cursor_manager->EnableCursor(false);
|
| root_window->AsRootWindowHostDelegate()->OnHostMouseEvent(&mouse_moved);
|
| EXPECT_FALSE(cursor_manager->IsCursorVisible());
|
| root_window->AsRootWindowHostDelegate()->OnHostTouchEvent(&touch_pressed2);
|
| @@ -672,7 +672,7 @@ TEST_F(WindowManagerTest, UpdateCursorVisibility) {
|
| EXPECT_FALSE(cursor_manager->IsCursorVisible());
|
|
|
| // Back to normal.
|
| - cursor_manager->ShowCursor(true);
|
| + cursor_manager->EnableCursor(true);
|
| root_window->AsRootWindowHostDelegate()->OnHostMouseEvent(&mouse_moved);
|
| EXPECT_TRUE(cursor_manager->IsCursorVisible());
|
| root_window->AsRootWindowHostDelegate()->OnHostTouchEvent(&touch_pressed2);
|
|
|