summaryrefslogtreecommitdiffstats
path: root/remoting/host/remoting_me2me_host.cc
diff options
context:
space:
mode:
authorrvargas <rvargas@chromium.org>2014-09-24 18:02:31 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-25 01:02:46 +0000
commit833c1fb479d491e5ac3f9ed83f93a088cb51e4bc (patch)
tree1e508e32850187983356f3684687c4a30b6273e8 /remoting/host/remoting_me2me_host.cc
parentd87803b74c52fbee3dbaff15a87b75e965ac97c4 (diff)
downloadchromium_src-833c1fb479d491e5ac3f9ed83f93a088cb51e4bc.zip
chromium_src-833c1fb479d491e5ac3f9ed83f93a088cb51e4bc.tar.gz
chromium_src-833c1fb479d491e5ac3f9ed83f93a088cb51e4bc.tar.bz2
Remove implicit HANDLE conversions from remoting.
BUG=416722 R=garykac@chromium.org Review URL: https://codereview.chromium.org/602763003 Cr-Commit-Position: refs/heads/master@{#296602}
Diffstat (limited to 'remoting/host/remoting_me2me_host.cc')
-rw-r--r--remoting/host/remoting_me2me_host.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index a34a603..0cb6175 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -402,7 +402,7 @@ bool HostProcess::InitWithCommandLine(const base::CommandLine* cmd_line) {
#if defined(OS_WIN)
base::win::ScopedHandle pipe(reinterpret_cast<HANDLE>(pipe_handle));
- IPC::ChannelHandle channel_handle(pipe);
+ IPC::ChannelHandle channel_handle(pipe.Get());
#elif defined(OS_POSIX)
base::FileDescriptor pipe(pipe_handle, true);
IPC::ChannelHandle channel_handle(channel_name, pipe);