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

Unified Diff: services/ui/ws/window_server_test_base.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 | « services/ui/ws/window_manager_client_unittest.cc ('k') | ui/aura/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_server_test_base.cc
diff --git a/services/ui/ws/window_server_test_base.cc b/services/ui/ws/window_server_test_base.cc
index 492bad06abb5038984d5eb5fcfc3c1c5a8e3ecba..4cfacda169833b403a27987954366362f530abac 100644
--- a/services/ui/ws/window_server_test_base.cc
+++ b/services/ui/ws/window_server_test_base.cc
@@ -271,8 +271,10 @@ void WindowServerTestBase::OnWmDeactivateWindow(aura::Window* window) {
void WindowServerTestBase::Create(
const service_manager::Identity& remote_identity,
mojom::WindowTreeClientRequest request) {
+ const bool create_discardable_memory = false;
window_tree_clients_.push_back(base::MakeUnique<aura::WindowTreeClient>(
- connector(), this, nullptr, std::move(request)));
+ connector(), this, nullptr, std::move(request), nullptr,
+ create_discardable_memory));
}
bool WindowServerTestBase::DeleteWindowTreeHost(
« no previous file with comments | « services/ui/ws/window_manager_client_unittest.cc ('k') | ui/aura/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698