Index: content/browser/tracing/memory_tracing_browsertest.cc |
diff --git a/content/browser/tracing/memory_tracing_browsertest.cc b/content/browser/tracing/memory_tracing_browsertest.cc |
index 90ddb5bf3b9e121a4b025dde3850f01a246bca86..8b0a1a9e8ebc066347ae82c3115e1541f3db077c 100644 |
--- a/content/browser/tracing/memory_tracing_browsertest.cc |
+++ b/content/browser/tracing/memory_tracing_browsertest.cc |
@@ -68,13 +68,14 @@ class MemoryTracingTest : public ContentBrowserTest { |
callback_call_count_ = 0; |
last_callback_dump_guid_ = 0; |
last_callback_success_ = false; |
- MemoryDumpManager::GetInstance()->Initialize(); |
- mock_dump_provider_.reset(new MockDumpProvider()); |
- MemoryDumpManager::GetInstance()->RegisterDumpProvider( |
- mock_dump_provider_.get()); |
+ |
// TODO(primiano): This should be done via TraceConfig. |
// See https://goo.gl/5Hj3o0. |
MemoryDumpManager::GetInstance()->DisablePeriodicDumpsForTesting(); |
+ |
+ mock_dump_provider_.reset(new MockDumpProvider()); |
+ MemoryDumpManager::GetInstance()->RegisterDumpProvider( |
+ mock_dump_provider_.get()); |
ContentBrowserTest::SetUp(); |
} |