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

Unified Diff: remoting/host/desktop_session_proxy.cc

Issue 310853003: Add IPC::ChannelProxy::Create() and IPC::SyncChannel::Create() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
Index: remoting/host/desktop_session_proxy.cc
diff --git a/remoting/host/desktop_session_proxy.cc b/remoting/host/desktop_session_proxy.cc
index 73497f9ded9cbed4f2107321fc8bc37ecf97d937..7b56386fd656dcddf6bff96baea6190d98a8b9d1 100644
--- a/remoting/host/desktop_session_proxy.cc
+++ b/remoting/host/desktop_session_proxy.cc
@@ -254,10 +254,10 @@ bool DesktopSessionProxy::AttachToDesktop(
#endif
// Connect to the desktop process.
- desktop_channel_.reset(new IPC::ChannelProxy(desktop_channel_handle,
+ desktop_channel_ = IPC::ChannelProxy::Create(desktop_channel_handle,
IPC::Channel::MODE_CLIENT,
this,
- io_task_runner_.get()));
+ io_task_runner_.get());
// Pass ID of the client (which is authenticated at this point) to the desktop
// session agent and start the agent.

Powered by Google App Engine
This is Rietveld 408576698