Index: ash/display/unified_mouse_warp_controller_unittest.cc |
diff --git a/ash/display/unified_mouse_warp_controller_unittest.cc b/ash/display/unified_mouse_warp_controller_unittest.cc |
index 599d6eed034f919212a6cf57a11c8f0a663fb28f..e176141d08ea1a27d99751c71941ae2a97dc90ce 100644 |
--- a/ash/display/unified_mouse_warp_controller_unittest.cc |
+++ b/ash/display/unified_mouse_warp_controller_unittest.cc |
@@ -4,6 +4,7 @@ |
#include "ash/display/unified_mouse_warp_controller.h" |
+#include "ash/display/display_manager.h" |
#include "ash/display/mouse_cursor_event_filter.h" |
#include "ash/shell.h" |
#include "ash/test/ash_test_base.h" |
@@ -22,7 +23,7 @@ class UnifiedMouseWarpControllerTest : public test::AshTestBase { |
void SetUp() override { |
test::AshTestBase::SetUp(); |
- test::DisplayManagerTestApi::EnableUnifiedDesktopForTest(); |
+ Shell::GetInstance()->display_manager()->SetUnifiedDesktopEnabled(true); |
} |
protected: |