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 c7619a9f138fbb2b28d7ae7191bd450db6726062..f0989aa1662e2b5e14470d0a90d29804cb11cfc6 100644 |
--- a/base/trace_event/memory_dump_manager.cc |
+++ b/base/trace_event/memory_dump_manager.cc |
@@ -210,7 +210,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) |