Index: remoting/protocol/host_video_dispatcher.cc |
diff --git a/remoting/protocol/host_video_dispatcher.cc b/remoting/protocol/host_video_dispatcher.cc |
index 759f9d66b18c43caec7be0c70b7d16a542f1f5da..f2b604e6e34f1125c17bb35d7a48b38a6d4805f4 100644 |
--- a/remoting/protocol/host_video_dispatcher.cc |
+++ b/remoting/protocol/host_video_dispatcher.cc |
@@ -22,14 +22,15 @@ HostVideoDispatcher::HostVideoDispatcher() |
: ChannelDispatcherBase(kVideoChannelName) {} |
HostVideoDispatcher::~HostVideoDispatcher() {} |
-void HostVideoDispatcher::ProcessVideoPacket(scoped_ptr<VideoPacket> packet, |
- const base::Closure& done) { |
+void HostVideoDispatcher::ProcessVideoPacket( |
+ std::unique_ptr<VideoPacket> packet, |
+ const base::Closure& done) { |
message_pipe()->Send(packet.get(), done); |
} |
void HostVideoDispatcher::OnIncomingMessage( |
- scoped_ptr<CompoundBuffer> message) { |
- scoped_ptr<VideoAck> ack = ParseMessage<VideoAck>(message.get()); |
+ std::unique_ptr<CompoundBuffer> message) { |
+ std::unique_ptr<VideoAck> ack = ParseMessage<VideoAck>(message.get()); |
if (!ack) |
return; |
if (video_feedback_stub_) |