Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3517)

Unified Diff: base/profiler/native_stack_sampler.h

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove redundant base:: prefix Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/profiler/native_stack_sampler.h
diff --git a/base/profiler/native_stack_sampler.h b/base/profiler/native_stack_sampler.h
index 40be5cd2973e15419420da8427d6d172fd838607..c7ef84ae31ca8033a09146a1ecb19a831daa4744 100644
--- a/base/profiler/native_stack_sampler.h
+++ b/base/profiler/native_stack_sampler.h
@@ -5,9 +5,10 @@
#ifndef BASE_PROFILER_NATIVE_STACK_SAMPLER_H_
#define BASE_PROFILER_NATIVE_STACK_SAMPLER_H_
+#include <memory>
+
#include "base/base_export.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/profiler/stack_sampling_profiler.h"
#include "base/threading/platform_thread.h"
@@ -24,7 +25,7 @@ class NativeStackSampler {
// Creates a stack sampler that records samples for |thread_handle|. Returns
// null if this platform does not support stack sampling.
- static scoped_ptr<NativeStackSampler> Create(
+ static std::unique_ptr<NativeStackSampler> Create(
PlatformThreadId thread_id,
NativeStackSamplerTestDelegate* test_delegate);

Powered by Google App Engine
This is Rietveld 408576698