Index: base/trace_event/memory_dump_manager_unittest.cc |
diff --git a/base/trace_event/memory_dump_manager_unittest.cc b/base/trace_event/memory_dump_manager_unittest.cc |
index a75eab2f7cabfde0f2785b1b0cfd5d0abea56f20..78d1870126dbe3606b88e0f7aa5424d7378b9f00 100644 |
--- a/base/trace_event/memory_dump_manager_unittest.cc |
+++ b/base/trace_event/memory_dump_manager_unittest.cc |
@@ -1312,7 +1312,7 @@ TEST_F(MemoryDumpManagerTest, DumpWithTracingDisabled) { |
const TraceConfig::MemoryDumpConfig& memory_dump_config = |
trace_config.memory_dump_config(); |
- mdm_->Enable(memory_dump_config); |
+ mdm_->SetupForTracing(memory_dump_config); |
EXPECT_CALL(global_dump_handler_, RequestGlobalMemoryDump(_, _)).Times(3); |
EXPECT_CALL(mdp, OnMemoryDump(_, _)).Times(3).WillRepeatedly(Return(true)); |
@@ -1325,7 +1325,7 @@ TEST_F(MemoryDumpManagerTest, DumpWithTracingDisabled) { |
// successful we also managed to add the dump to the trace. |
EXPECT_FALSE(last_callback_success_); |
- mdm_->Disable(); |
+ mdm_->TeardownForTracing(); |
mdm_->UnregisterDumpProvider(&mdp); |
} |