commit | 0765c49ae6fb26c49c98bf9205d690174de3c0e4 | [log] [tgz] |
---|---|---|
author | dcheng <[email protected]> | Wed Apr 06 22:41:53 2016 |
committer | Commit bot <[email protected]> | Wed Apr 06 22:43:13 2016 |
tree | c68ce60cc1b49071e6a9358719ef6acbb132efae | |
parent | 45e5facee3ebc508b5c7c59d9c9940d7eac53af3 [diff] [blame] |
Convert //remoting to use std::unique_ptr BUG=554298 [email protected],[email protected] Review URL: https://codereview.chromium.org/1864213002 Cr-Commit-Position: refs/heads/master@{#385571}
diff --git a/remoting/protocol/client_video_dispatcher.cc b/remoting/protocol/client_video_dispatcher.cc index 70fd857..95e8788 100644 --- a/remoting/protocol/client_video_dispatcher.cc +++ b/remoting/protocol/client_video_dispatcher.cc
@@ -39,8 +39,8 @@ ClientVideoDispatcher::~ClientVideoDispatcher() {} void ClientVideoDispatcher::OnIncomingMessage( - scoped_ptr<CompoundBuffer> message) { - scoped_ptr<VideoPacket> video_packet = + std::unique_ptr<CompoundBuffer> message) { + std::unique_ptr<VideoPacket> video_packet = ParseMessage<VideoPacket>(message.get()); if (!video_packet) return;