Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(679)

Unified Diff: services/ui/ws/window_tree_unittest.cc

Issue 2549503002: Rename PlatformScreen to ScreenManager. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698