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

Unified Diff: cc/trees/remote_proto_channel.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/trees/remote_channel_main.cc ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/remote_proto_channel.h
diff --git a/cc/trees/remote_proto_channel.h b/cc/trees/remote_proto_channel.h
index 76141a9089405ceb1b552fbef2a51476356723b9..8f7ad099a13a6754e93123081abd8b95c3191655 100644
--- a/cc/trees/remote_proto_channel.h
+++ b/cc/trees/remote_proto_channel.h
@@ -5,7 +5,8 @@
#ifndef CC_TREES_REMOTE_PROTO_CHANNEL_H_
#define CC_TREES_REMOTE_PROTO_CHANNEL_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "cc/base/cc_export.h"
namespace cc {
@@ -25,7 +26,7 @@ class CC_EXPORT RemoteProtoChannel {
// TODO(khushalsagar): This should probably include a closure that returns
// the status of processing this proto. See crbug/576974
virtual void OnProtoReceived(
- scoped_ptr<proto::CompositorMessage> proto) = 0;
+ std::unique_ptr<proto::CompositorMessage> proto) = 0;
protected:
virtual ~ProtoReceiver() {}
« no previous file with comments | « cc/trees/remote_channel_main.cc ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698