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

Unified Diff: remoting/protocol/client_video_dispatcher.cc

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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 | « remoting/protocol/client_video_dispatcher.h ('k') | remoting/protocol/client_video_dispatcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/client_video_dispatcher.cc
diff --git a/remoting/protocol/client_video_dispatcher.cc b/remoting/protocol/client_video_dispatcher.cc
index 70fd8572a552a3193fb6a5eb3633cd117ed5fdf6..95e87881f573964bef42640ed1825edeaecd996b 100644
--- a/remoting/protocol/client_video_dispatcher.cc
+++ b/remoting/protocol/client_video_dispatcher.cc
@@ -39,8 +39,8 @@ ClientVideoDispatcher::ClientVideoDispatcher(VideoStub* video_stub,
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;
« no previous file with comments | « remoting/protocol/client_video_dispatcher.h ('k') | remoting/protocol/client_video_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698