Index: ash/root_window_controller_unittest.cc |
diff --git a/ash/root_window_controller_unittest.cc b/ash/root_window_controller_unittest.cc |
index 88e254f671b770c3b8ff35e8a4cd6545082d3225..923fdce697cdaf4d77c610eb3c50e2dd9f4d5096 100644 |
--- a/ash/root_window_controller_unittest.cc |
+++ b/ash/root_window_controller_unittest.cc |
@@ -293,7 +293,7 @@ TEST_F(RootWindowControllerTest, MoveWindows_Modal) { |
TEST_F(RootWindowControllerTest, MoveWindows_LockWindowsInUnified) { |
if (!SupportsMultipleDisplays()) |
return; |
- test::DisplayManagerTestApi::EnableUnifiedDesktopForTest(); |
+ Shell::GetInstance()->display_manager()->SetUnifiedDesktopEnabled(true); |
UpdateDisplay("500x500"); |
const int kLockScreenWindowId = 1000; |