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 a41a14091e4eedca55213eafd980f31a76f03b36..2e3f36d225b1a5e3ed402b50dac35b8caa67d9ef 100644 |
--- a/base/trace_event/memory_dump_manager.cc |
+++ b/base/trace_event/memory_dump_manager.cc |
@@ -187,7 +187,7 @@ void MemoryDumpManager::EnableHeapProfilingIfNeeded() { |
std::string profiling_mode = CommandLine::ForCurrentProcess() |
->GetSwitchValueASCII(switches::kEnableHeapProfiling); |
- if (profiling_mode == "") { |
+ if (profiling_mode == switches::kEnableHeapProfilingModePseudo) { |
AllocationContextTracker::SetCaptureMode( |
AllocationContextTracker::CaptureMode::PSEUDO_STACK); |
#if !defined(OS_NACL) |