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

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

Issue 2484223006: Remove CreateDefaultDisplay(). (Closed)
Patch Set: Remove debug LOG. 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 76b1a25b44262b885a0add55da4f92fc0b563007..b09a6b05e42b17dc2a6b1a60540f571296b16180 100644
--- a/services/ui/ws/window_manager_state_unittest.cc
+++ b/services/ui/ws/window_manager_state_unittest.cc
@@ -547,7 +547,7 @@ TEST_F(WindowManagerStateTest, PostAcceleratorForgotten) {
// with no roots.
TEST(WindowManagerStateShutdownTest, DestroyTreeBeforeDisplay) {
WindowServerTestHelper ws_test_helper;
- ws_test_helper.window_server_delegate()->set_num_displays_to_create(1);
+ ws_test_helper.window_server_delegate()->CreateDisplays(1);
WindowServer* window_server = ws_test_helper.window_server();
const UserId kUserId1 = "2";
WindowManagerWindowTreeFactorySetTestApi(
« no previous file with comments | « services/ui/ws/user_display_manager_unittest.cc ('k') | services/ui/ws/window_manager_window_tree_factory_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698