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

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

Issue 2503923003: Demonstrate external-window-mode in mus-demo (Closed)
Patch Set: Wrap comment Created 4 years, 1 month 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..3692bd7e7e62047fd5203aa0f3fe022d50d36b9f 100644
--- a/services/ui/ws/window_manager_state_unittest.cc
+++ b/services/ui/ws/window_manager_state_unittest.cc
@@ -548,7 +548,8 @@ 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.Init(window_server->display_manager(),
+ display::PlatformScreen::WINDOW_MODE_INTERNAL);
platform_screen.AddDisplay();
const UserId kUserId1 = "2";
AddWindowManager(window_server, kUserId1);

Powered by Google App Engine
This is Rietveld 408576698