diff options
Diffstat (limited to 'deps/v8/src/profiler/sampling-heap-profiler.cc')
-rw-r--r-- | deps/v8/src/profiler/sampling-heap-profiler.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/deps/v8/src/profiler/sampling-heap-profiler.cc b/deps/v8/src/profiler/sampling-heap-profiler.cc index de19d39eba..f5aa1dc3a0 100644 --- a/deps/v8/src/profiler/sampling-heap-profiler.cc +++ b/deps/v8/src/profiler/sampling-heap-profiler.cc @@ -9,7 +9,6 @@ #include "src/api/api-inl.h" #include "src/base/ieee754.h" -#include "src/base/template-utils.h" #include "src/base/utils/random-number-generator.h" #include "src/execution/frames-inl.h" #include "src/execution/isolate.h" @@ -89,7 +88,7 @@ void SamplingHeapProfiler::SampleObject(Address soon_object, size_t size) { AllocationNode* node = AddStack(); node->allocations_[size]++; auto sample = - base::make_unique<Sample>(size, node, loc, this, next_sample_id()); + std::make_unique<Sample>(size, node, loc, this, next_sample_id()); sample->global.SetWeak(sample.get(), OnWeakCallback, WeakCallbackType::kParameter); samples_.emplace(sample.get(), std::move(sample)); @@ -126,7 +125,7 @@ SamplingHeapProfiler::AllocationNode* SamplingHeapProfiler::FindOrAddChildNode( DCHECK_EQ(strcmp(child->name_, name), 0); return child; } - auto new_child = base::make_unique<AllocationNode>( + auto new_child = std::make_unique<AllocationNode>( parent, name, script_id, start_position, next_node_id()); return parent->AddChildNode(id, std::move(new_child)); } |