Index: services/ui/ws/window_tree_unittest.cc |
diff --git a/services/ui/ws/window_tree_unittest.cc b/services/ui/ws/window_tree_unittest.cc |
index 708298c89083d6603e88a59b83f8931294f1e236..2c0ded3dc2b74414cf9bb21d6683851337ee340f 100644 |
--- a/services/ui/ws/window_tree_unittest.cc |
+++ b/services/ui/ws/window_tree_unittest.cc |
@@ -1355,10 +1355,10 @@ TEST_F(WindowTreeShutdownTest, DontSendMessagesDuringShutdown) { |
// Create a tree with one window. |
WindowServerTestHelper ws_test_helper; |
WindowServer* window_server = ws_test_helper.window_server(); |
- TestPlatformScreen platform_screen; |
- platform_screen.Init(window_server->display_manager()); |
+ TestScreenManager screen_manager; |
msw
2016/12/01 20:01:19
optional nit: explicit include?
kylechar
2016/12/01 21:08:21
Ditto.
|
+ screen_manager.Init(window_server->display_manager()); |
window_server->user_id_tracker()->AddUserId(kTestUserId1); |
- platform_screen.AddDisplay(); |
+ screen_manager.AddDisplay(); |
AddWindowManager(window_server, kTestUserId1); |
window_server->user_id_tracker()->SetActiveUserId(kTestUserId1); |