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 6ed1ca8fff3aa55d94af524a1a0e0057183b02ac..e526ee606255691a4d624897eeec79df1dfd7aa8 100644 |
--- a/base/trace_event/memory_dump_manager.cc |
+++ b/base/trace_event/memory_dump_manager.cc |
@@ -195,8 +195,7 @@ void MemoryDumpManager::EnableHeapProfilingIfNeeded() { |
if (profiling_mode == "") { |
AllocationContextTracker::SetCaptureMode( |
AllocationContextTracker::CaptureMode::PSEUDO_STACK); |
-#if HAVE_TRACE_STACK_FRAME_POINTERS && \ |
- (BUILDFLAG(ENABLE_PROFILING) || !defined(NDEBUG)) |
+#if (BUILDFLAG(CAN_UNWIND_WITH_FRAME_POINTERS) || !defined(NDEBUG)) |
} else if (profiling_mode == switches::kEnableHeapProfilingModeNative) { |
// We need frame pointers for native tracing to work, and they are |
// enabled in profiling and debug builds. |