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

Unified Diff: content/child/memory/child_memory_coordinator_impl.cc

Issue 2695923003: Don't notify SUSPENDED state in ChildMemoryCoordinator::PurgeMemory() (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/memory/child_memory_coordinator_impl.cc
diff --git a/content/child/memory/child_memory_coordinator_impl.cc b/content/child/memory/child_memory_coordinator_impl.cc
index 6c381413d175be079291d9887df1a341897724ce..de9f8b81d7ffe511fa3a96a90a85fb6666f2ec62 100644
--- a/content/child/memory/child_memory_coordinator_impl.cc
+++ b/content/child/memory/child_memory_coordinator_impl.cc
@@ -61,10 +61,6 @@ ChildMemoryCoordinatorImpl::~ChildMemoryCoordinatorImpl() {
void ChildMemoryCoordinatorImpl::PurgeMemory() {
TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("memory-infra"),
"ChildMemoryCoordinatorImpl::PurgeMemory");
- // TODO(bashi): Remove Notify() call when all clients implement
- // OnPurgeMemory();
- base::MemoryCoordinatorClientRegistry::GetInstance()->Notify(
- base::MemoryState::SUSPENDED);
base::MemoryCoordinatorClientRegistry::GetInstance()->PurgeMemory();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698