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

Unified Diff: services/ui/ws/window_tree_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
« no previous file with comments | « services/ui/ws/window_manager_window_tree_factory_set.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e696b88a728c79bcedaf470e901c75771af9bb26..6e0d53ae73e8b47ff54f64bfc3e97a149f9cc9ef 100644
--- a/services/ui/ws/window_tree_unittest.cc
+++ b/services/ui/ws/window_tree_unittest.cc
@@ -1359,9 +1359,7 @@ TEST_F(WindowTreeShutdownTest, DontSendMessagesDuringShutdown) {
const int kNumHostsToCreate = 1;
ws_test_helper.window_server_delegate()->CreateDisplays(kNumHostsToCreate);
- WindowManagerWindowTreeFactorySetTestApi(
- window_server->window_manager_window_tree_factory_set())
- .Add(kTestUserId1);
+ AddWindowManager(window_server, kTestUserId1);
window_server->user_id_tracker()->SetActiveUserId(kTestUserId1);
TestWindowTreeBinding* test_binding =
ws_test_helper.window_server_delegate()->last_binding();
« no previous file with comments | « services/ui/ws/window_manager_window_tree_factory_set.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698