| Index: base/trace_event/memory_dump_manager.cc
|
| diff --git a/base/trace_event/memory_dump_manager.cc b/base/trace_event/memory_dump_manager.cc
|
| index 7de028b313530835dc44dc4d8a37107a0fe2c647..4c89609b25a9c1de474d1bd2932c8385fba91792 100644
|
| --- a/base/trace_event/memory_dump_manager.cc
|
| +++ b/base/trace_event/memory_dump_manager.cc
|
| @@ -769,7 +769,7 @@ void MemoryDumpManager::FinalizeDumpAndAddToTrace(
|
| TRACE_ID_LOCAL(dump_guid));
|
| }
|
|
|
| -void MemoryDumpManager::Enable(
|
| +void MemoryDumpManager::SetupForTracing(
|
| const TraceConfig::MemoryDumpConfig& memory_dump_config) {
|
| scoped_refptr<HeapProfilerSerializationState>
|
| heap_profiler_serialization_state = new HeapProfilerSerializationState;
|
| @@ -851,7 +851,7 @@ void MemoryDumpManager::Enable(
|
| }
|
| }
|
|
|
| -void MemoryDumpManager::Disable() {
|
| +void MemoryDumpManager::TeardownForTracing() {
|
| // There might be a memory dump in progress while this happens. Therefore,
|
| // ensure that the MDM state which depends on the tracing enabled / disabled
|
| // state is always accessed by the dumping methods holding the |lock_|.
|
|
|