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

Unified Diff: services/ui/ws/cursor_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 | « no previous file | services/ui/ws/display_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/cursor_unittest.cc
diff --git a/services/ui/ws/cursor_unittest.cc b/services/ui/ws/cursor_unittest.cc
index cc44915b8064af314738c00ae9a2a7114a90d296..a3f59444200db61faa16f4b44407e36940807fdc 100644
--- a/services/ui/ws/cursor_unittest.cc
+++ b/services/ui/ws/cursor_unittest.cc
@@ -52,9 +52,7 @@ class CursorTest : public testing::Test {
window_server_delegate()->CreateDisplays(1);
// As a side effect, this allocates Displays.
- WindowManagerWindowTreeFactorySetTestApi(
- window_server()->window_manager_window_tree_factory_set())
- .Add(kTestId1);
+ AddWindowManager(window_server(), kTestId1);
window_server()->user_id_tracker()->AddUserId(kTestId1);
window_server()->user_id_tracker()->SetActiveUserId(kTestId1);
}
« no previous file with comments | « no previous file | services/ui/ws/display_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698