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

Unified Diff: content/browser/memory/memory_coordinator_impl_unittest.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_unittest.cc
diff --git a/content/browser/memory/memory_coordinator_impl_unittest.cc b/content/browser/memory/memory_coordinator_impl_unittest.cc
index 3e83a1264047c7248e2e8203cdd4ccda78d3d6dd..63edb9918e2e6da4ad5c58795a592f9775c81504 100644
--- a/content/browser/memory/memory_coordinator_impl_unittest.cc
+++ b/content/browser/memory/memory_coordinator_impl_unittest.cc
@@ -178,15 +178,6 @@ class MemoryCoordinatorImplTest : public base::MultiProcessTest {
task_runner_ = new base::TestMockTimeTaskRunner();
coordinator_.reset(new TestMemoryCoordinatorImpl(task_runner_));
-
- base::MemoryCoordinatorProxy::GetInstance()->
- SetGetCurrentMemoryStateCallback(base::Bind(
- &MemoryCoordinatorImpl::GetCurrentMemoryState,
- base::Unretained(coordinator_.get())));
- base::MemoryCoordinatorProxy::GetInstance()->
- SetSetCurrentMemoryStateForTestingCallback(base::Bind(
- &MemoryCoordinatorImpl::SetCurrentMemoryStateForTesting,
- base::Unretained(coordinator_.get())));
}
MockMemoryMonitor* GetMockMemoryMonitor() {
« no previous file with comments | « content/browser/memory/memory_coordinator_impl.cc ('k') | content/public/test/memory_coordinator_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698