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

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

Issue 2741063002: Setup DiscardableMemory in the ash process (Closed)
Patch Set: Rebase Created 3 years, 9 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
« no previous file with comments | « ash/mus/window_manager_unittest.cc ('k') | services/ui/ws/window_server_test_base.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 075b70b25f738c20080ccdabcdaa045004803972..02a59a7096c0b0adeb056c7eb4e7079a2043c313 100644
--- a/services/ui/ws/window_manager_client_unittest.cc
+++ b/services/ui/ws/window_manager_client_unittest.cc
@@ -711,7 +711,8 @@ 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(), this, nullptr, nullptr,
+ nullptr, false);
second_client.ConnectViaWindowTreeFactory();
aura::WindowTreeHostMus window_tree_host_in_second_client(&second_client);
window_tree_host_in_second_client.InitHost();
@@ -739,7 +740,8 @@ 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(), this, nullptr, nullptr,
+ nullptr, false);
second_client.ConnectViaWindowTreeFactory();
aura::WindowTreeHostMus window_tree_host_in_second_client(&second_client);
window_tree_host_in_second_client.InitHost();
« no previous file with comments | « ash/mus/window_manager_unittest.cc ('k') | services/ui/ws/window_server_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698