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 c1e9befc5e3e0d8e6a5896d0d8617163bb9840e5..dbb16a691dffc84fe4fe03eaa6c8587acdb14c4f 100644 |
--- a/base/trace_event/memory_dump_manager_unittest.cc |
+++ b/base/trace_event/memory_dump_manager_unittest.cc |
@@ -1258,7 +1258,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)); |
@@ -1271,7 +1271,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); |
} |