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

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

Issue 2644093002: aura: Some change to how the client-lib is set up. (Closed)
Patch Set: . Created 3 years, 11 months 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_client_unittest.cc
diff --git a/services/ui/ws/window_manager_client_unittest.cc b/services/ui/ws/window_manager_client_unittest.cc
index 4a5896f9e495882e8bb2c3cc35be77a288da5b1b..2e27fd2656a6ea783e9d194896db73d5ed6b9346 100644
--- a/services/ui/ws/window_manager_client_unittest.cc
+++ b/services/ui/ws/window_manager_client_unittest.cc
@@ -704,7 +704,7 @@ class EstablishConnectionViaFactoryDelegate : public TestWindowManagerDelegate {
TEST_F(WindowServerTest, EstablishConnectionViaFactory) {
EstablishConnectionViaFactoryDelegate delegate(window_manager());
set_window_manager_delegate(&delegate);
- aura::WindowTreeClient second_client(connector(), this);
+ aura::WindowTreeClient second_client(connector(), nullptr, this);
second_client.ConnectViaWindowTreeFactory();
aura::WindowTreeHostMus window_tree_host_in_second_client(&second_client);
window_tree_host_in_second_client.InitHost();
@@ -732,7 +732,7 @@ TEST_F(WindowServerTest, OnWindowHierarchyChangedIncludesTransientParent) {
// of the first window and then add it.
EstablishConnectionViaFactoryDelegate delegate(window_manager());
set_window_manager_delegate(&delegate);
- aura::WindowTreeClient second_client(connector(), this);
+ aura::WindowTreeClient second_client(connector(), nullptr, this);
second_client.ConnectViaWindowTreeFactory();
aura::WindowTreeHostMus window_tree_host_in_second_client(&second_client);
window_tree_host_in_second_client.InitHost();

Powered by Google App Engine
This is Rietveld 408576698