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

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

Issue 2552003002: Ensure compositor initialized before WindowTreeHost is Shown. (Closed)
Patch Set: Fixing WindowServerTest.EstablishConnectionViaFactory Created 4 years 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 | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_manager_client_unittest.cc
diff --git a/services/ui/ws/window_manager_client_unittest.cc b/services/ui/ws/window_manager_client_unittest.cc
index 542c38c9dbcfedfc30027ebbd53fe81425d06c6d..0697239cfa0b7f2de3890ff73a3e1db538768805 100644
--- a/services/ui/ws/window_manager_client_unittest.cc
+++ b/services/ui/ws/window_manager_client_unittest.cc
@@ -703,6 +703,7 @@ TEST_F(WindowServerTest, EstablishConnectionViaFactory) {
aura::WindowTreeClient second_client(connector(), this);
second_client.ConnectViaWindowTreeFactory();
aura::WindowTreeHostMus window_tree_host_in_second_client(&second_client);
+ window_tree_host_in_second_client.InitHost();
ASSERT_TRUE(second_client.GetRoots().count(
window_tree_host_in_second_client.window()) > 0);
// Wait for the window to appear in the wm.
« no previous file with comments | « no previous file | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698