Index: services/ui/ws/window_manager_state_unittest.cc |
diff --git a/services/ui/ws/window_manager_state_unittest.cc b/services/ui/ws/window_manager_state_unittest.cc |
index eebde144c1668701661138decdd8f9f35f86c091..a67f0bfc6a60b56ecc8d5c02e88f8b338e3f4e75 100644 |
--- a/services/ui/ws/window_manager_state_unittest.cc |
+++ b/services/ui/ws/window_manager_state_unittest.cc |
@@ -547,9 +547,9 @@ TEST_F(WindowManagerStateTest, PostAcceleratorForgotten) { |
TEST(WindowManagerStateShutdownTest, DestroyTreeBeforeDisplay) { |
WindowServerTestHelper ws_test_helper; |
WindowServer* window_server = ws_test_helper.window_server(); |
- TestPlatformScreen platform_screen; |
- platform_screen.Init(window_server->display_manager()); |
- platform_screen.AddDisplay(); |
+ TestScreenManager screen_manager; |
+ screen_manager.Init(window_server->display_manager()); |
+ screen_manager.AddDisplay(); |
const UserId kUserId1 = "2"; |
AddWindowManager(window_server, kUserId1); |
ASSERT_EQ(1u, window_server->display_manager()->displays().size()); |