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

Unified Diff: content/renderer/devtools/v8_sampling_profiler.h

Issue 1873783003: Convert //content/renderer from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/renderer/devtools/v8_sampling_profiler.h
diff --git a/content/renderer/devtools/v8_sampling_profiler.h b/content/renderer/devtools/v8_sampling_profiler.h
index 6d5b432244489d0e11282f48bbbd9b96cb0abd3a..7604f5a2feec49c1610fbb792e0567dc8f1d23a8 100644
--- a/content/renderer/devtools/v8_sampling_profiler.h
+++ b/content/renderer/devtools/v8_sampling_profiler.h
@@ -5,8 +5,9 @@
#ifndef CONTENT_RENDERER_DEVTOOLS_V8_SAMPLING_PROFILER_H_
#define CONTENT_RENDERER_DEVTOOLS_V8_SAMPLING_PROFILER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/single_thread_task_runner.h"
#include "base/synchronization/waitable_event.h"
#include "base/trace_event/trace_log.h"
@@ -36,9 +37,9 @@ class CONTENT_EXPORT V8SamplingProfiler final
void StartSamplingThread();
void StopSamplingThread();
- scoped_ptr<base::WaitableEvent> waitable_event_for_testing_;
- scoped_ptr<V8SamplingThread> sampling_thread_;
- scoped_ptr<Sampler> render_thread_sampler_;
+ std::unique_ptr<base::WaitableEvent> waitable_event_for_testing_;
+ std::unique_ptr<V8SamplingThread> sampling_thread_;
+ std::unique_ptr<Sampler> render_thread_sampler_;
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
DISALLOW_COPY_AND_ASSIGN(V8SamplingProfiler);
« no previous file with comments | « content/renderer/devtools/render_widget_screen_metrics_emulator.h ('k') | content/renderer/devtools/v8_sampling_profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698