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

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

Issue 2481013008: Delete WindowManagerWindowTreeFactorySetTestApi. (Closed)
Patch Set: Make const ref. 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 b09a6b05e42b17dc2a6b1a60540f571296b16180..fd3c5a286807c7ba1e2668229d254dc8f092f435 100644
--- a/services/ui/ws/window_manager_state_unittest.cc
+++ b/services/ui/ws/window_manager_state_unittest.cc
@@ -550,9 +550,7 @@ TEST(WindowManagerStateShutdownTest, DestroyTreeBeforeDisplay) {
ws_test_helper.window_server_delegate()->CreateDisplays(1);
WindowServer* window_server = ws_test_helper.window_server();
const UserId kUserId1 = "2";
- WindowManagerWindowTreeFactorySetTestApi(
- window_server->window_manager_window_tree_factory_set())
- .Add(kUserId1);
+ AddWindowManager(window_server, kUserId1);
ASSERT_EQ(1u, window_server->display_manager()->displays().size());
Display* display = *(window_server->display_manager()->displays().begin());
WindowManagerDisplayRoot* window_manager_display_root =
« no previous file with comments | « services/ui/ws/user_display_manager_unittest.cc ('k') | services/ui/ws/window_manager_window_tree_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698