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

Unified Diff: content/browser/memory/memory_coordinator_impl.cc

Issue 2703743002: Refactor MemoryCoordinatorProxy (Closed)
Patch Set: Remove atomics Created 3 years, 10 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: content/browser/memory/memory_coordinator_impl.cc
diff --git a/content/browser/memory/memory_coordinator_impl.cc b/content/browser/memory/memory_coordinator_impl.cc
index b8e34d268839ce75d46405c4582413ce4c4be557..7dc87404926418112a8412a93af35ecac1076651 100644
--- a/content/browser/memory/memory_coordinator_impl.cc
+++ b/content/browser/memory/memory_coordinator_impl.cc
@@ -173,6 +173,7 @@ MemoryCoordinatorImpl::MemoryCoordinatorImpl(
memory_monitor_(std::move(memory_monitor)),
state_updater_(base::MakeUnique<MemoryStateUpdater>(this, task_runner)) {
DCHECK(memory_monitor_.get());
+ base::MemoryCoordinatorProxy::SetMemoryCoordinator(this);
}
MemoryCoordinatorImpl::~MemoryCoordinatorImpl() {}
« no previous file with comments | « content/browser/memory/memory_coordinator_impl.h ('k') | content/browser/memory/memory_coordinator_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698