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

Unified Diff: cc/trees/remote_channel_main.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_impl.cc ('k') | cc/trees/remote_channel_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/remote_channel_main.h
diff --git a/cc/trees/remote_channel_main.h b/cc/trees/remote_channel_main.h
index 7b2b9c7485dff8ce9a89f682dfceff374d936faf..1848f5c589cbffa05772be0bd85b8b90b24db685 100644
--- a/cc/trees/remote_channel_main.h
+++ b/cc/trees/remote_channel_main.h
@@ -22,7 +22,7 @@ class CompositorMessageToMain;
class CC_EXPORT RemoteChannelMain : public ChannelMain,
public RemoteProtoChannel::ProtoReceiver {
public:
- static scoped_ptr<RemoteChannelMain> Create(
+ static std::unique_ptr<RemoteChannelMain> Create(
RemoteProtoChannel* remote_proto_channel,
ProxyMain* proxy_main,
TaskRunnerProvider* task_runner_provider);
@@ -54,11 +54,12 @@ class CC_EXPORT RemoteChannelMain : public ChannelMain,
bool hold_commit_for_activation) override;
void SynchronouslyInitializeImpl(
LayerTreeHost* layer_tree_host,
- scoped_ptr<BeginFrameSource> external_begin_frame_source) override;
+ std::unique_ptr<BeginFrameSource> external_begin_frame_source) override;
void SynchronouslyCloseImpl() override;
// RemoteProtoChannel::ProtoReceiver implementation
- void OnProtoReceived(scoped_ptr<proto::CompositorMessage> proto) override;
+ void OnProtoReceived(
+ std::unique_ptr<proto::CompositorMessage> proto) override;
protected:
RemoteChannelMain(RemoteProtoChannel* remote_proto_channel,
« no previous file with comments | « cc/trees/remote_channel_impl.cc ('k') | cc/trees/remote_channel_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698