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

Unified Diff: cc/debug/debug_rect_history.h

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrcc: rebase 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
« no previous file with comments | « cc/debug/benchmark_instrumentation.cc ('k') | cc/debug/debug_rect_history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/debug_rect_history.h
diff --git a/cc/debug/debug_rect_history.h b/cc/debug/debug_rect_history.h
index b06dc58a2a8d95c7db9e6975bc0971d7d13b1235..4ffbd8ca8267180b8cd4ac2bb3f84f23fbc8bff6 100644
--- a/cc/debug/debug_rect_history.h
+++ b/cc/debug/debug_rect_history.h
@@ -5,9 +5,10 @@
#ifndef CC_DEBUG_DEBUG_RECT_HISTORY_H_
#define CC_DEBUG_DEBUG_RECT_HISTORY_H_
+#include <memory>
#include <vector>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "cc/layers/layer_collections.h"
#include "ui/gfx/geometry/rect.h"
@@ -61,7 +62,7 @@ struct DebugRect {
// the appropriate LayerTreeSettings are enabled.
class DebugRectHistory {
public:
- static scoped_ptr<DebugRectHistory> Create();
+ static std::unique_ptr<DebugRectHistory> Create();
~DebugRectHistory();
« no previous file with comments | « cc/debug/benchmark_instrumentation.cc ('k') | cc/debug/debug_rect_history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698