| Index: ash/test/ash_test_base.cc
|
| diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
|
| index cd4174a4ee8690308998420e90b8dbd78dba2871..5cbe2c634c86b4c8a5197edc79d040e5cd02cc23 100644
|
| --- a/ash/test/ash_test_base.cc
|
| +++ b/ash/test/ash_test_base.cc
|
| @@ -126,7 +126,9 @@ void AshTestBase::SetUp() {
|
| // Move the mouse cursor to far away so that native events doesn't
|
| // interfere test expectations.
|
| Shell::GetPrimaryRootWindow()->MoveCursorTo(gfx::Point(-1000, -1000));
|
| - ash::Shell::GetInstance()->cursor_manager()->EnableMouseEvents();
|
| + views::corewm::CursorManager::TestApi api(
|
| + ash::Shell::GetInstance()->cursor_manager());
|
| + api.ResetState();
|
|
|
| #if defined(OS_WIN)
|
| if (!command_line->HasSwitch(ash::switches::kForceAshToDesktop)) {
|
|
|