| 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 ed037049001ef7463c6211c931a0795c74457d79..cf2360fe60521abfe9acff842e40d7c18027848f 100644
|
| --- a/base/trace_event/heap_profiler_allocation_context_tracker_unittest.cc
|
| +++ b/base/trace_event/heap_profiler_allocation_context_tracker_unittest.cc
|
| @@ -62,11 +62,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();
|
| }
|
| };
|
|
|