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

Unified Diff: services/ui/ws/window_manager_state_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_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;
msw 2016/12/01 20:01:19 optional nit: explicit include?
kylechar 2016/12/01 21:08:21 It has an #include to services/ui/ws/test_utils.h
+ 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());

Powered by Google App Engine
This is Rietveld 408576698