Index: base/trace_event/heap_profiler_allocation_context_tracker_unittest.cc |
diff --git a/base/trace_event/heap_profiler_allocation_context_tracker_unittest.cc b/base/trace_event/heap_profiler_allocation_context_tracker_unittest.cc |
index a39700e4fff4171d6701883d83d6a8ef98a85cdd..035fbb8c8d08ced576a391c84fdd55f729616e9e 100644 |
--- a/base/trace_event/heap_profiler_allocation_context_tracker_unittest.cc |
+++ b/base/trace_event/heap_profiler_allocation_context_tracker_unittest.cc |
@@ -61,11 +61,13 @@ class AllocationContextTrackerTest : public testing::Test { |
void SetUp() override { |
TraceConfig config(""); |
TraceLog::GetInstance()->SetEnabled(config, TraceLog::RECORDING_MODE); |
- AllocationContextTracker::SetCaptureEnabled(true); |
+ AllocationContextTracker::SetCaptureMode( |
+ AllocationContextTracker::CaptureMode::PSEUDO_STACK); |
} |
void TearDown() override { |
- AllocationContextTracker::SetCaptureEnabled(false); |
+ AllocationContextTracker::SetCaptureMode( |
+ AllocationContextTracker::CaptureMode::DISABLED); |
TraceLog::GetInstance()->SetDisabled(); |
} |
}; |