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

Unified Diff: remoting/protocol/client_control_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_control_dispatcher.h ('k') | remoting/protocol/client_event_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/client_control_dispatcher.cc
diff --git a/remoting/protocol/client_control_dispatcher.cc b/remoting/protocol/client_control_dispatcher.cc
index 78f836d9553dba64ee96b24c037579407357487f..a9d481c654b0b0c81689b1d3d2195d199c16fe3a 100644
--- a/remoting/protocol/client_control_dispatcher.cc
+++ b/remoting/protocol/client_control_dispatcher.cc
@@ -112,11 +112,11 @@ void ClientControlDispatcher::DeliverClientMessage(
}
void ClientControlDispatcher::OnIncomingMessage(
- scoped_ptr<CompoundBuffer> buffer) {
+ std::unique_ptr<CompoundBuffer> buffer) {
DCHECK(client_stub_);
DCHECK(clipboard_stub_);
- scoped_ptr<ControlMessage> message =
+ std::unique_ptr<ControlMessage> message =
ParseMessage<ControlMessage>(buffer.get());
if (!message)
return;
« no previous file with comments | « remoting/protocol/client_control_dispatcher.h ('k') | remoting/protocol/client_event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698