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

Unified Diff: cc/layers/render_pass_sink.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/layers/picture_layer_unittest.cc ('k') | cc/layers/render_surface_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/render_pass_sink.h
diff --git a/cc/layers/render_pass_sink.h b/cc/layers/render_pass_sink.h
index 725f1dd0902b21bfef0a617b69aff49fae4cc3c8..aa5bfbcfc85ebb48269cc6b89ae6d110dd1514a9 100644
--- a/cc/layers/render_pass_sink.h
+++ b/cc/layers/render_pass_sink.h
@@ -5,7 +5,8 @@
#ifndef CC_LAYERS_RENDER_PASS_SINK_H_
#define CC_LAYERS_RENDER_PASS_SINK_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "cc/base/cc_export.h"
namespace cc {
@@ -13,7 +14,7 @@ class RenderPass;
class CC_EXPORT RenderPassSink {
public:
- virtual void AppendRenderPass(scoped_ptr<RenderPass> render_pass) = 0;
+ virtual void AppendRenderPass(std::unique_ptr<RenderPass> render_pass) = 0;
protected:
virtual ~RenderPassSink() {}
« no previous file with comments | « cc/layers/picture_layer_unittest.cc ('k') | cc/layers/render_surface_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698