From 833c1fb479d491e5ac3f9ed83f93a088cb51e4bc Mon Sep 17 00:00:00 2001 From: rvargas Date: Wed, 24 Sep 2014 18:02:31 -0700 Subject: 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} --- remoting/host/remoting_me2me_host.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remoting/host/remoting_me2me_host.cc') 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(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); -- cgit v1.1