Index: cloud_print/service/win/service_listener.cc |
diff --git a/cloud_print/service/win/service_listener.cc b/cloud_print/service/win/service_listener.cc |
index a022cb3b1d5cfebf0a14bcdab1b3d3395531c98e..0aaf0f305848d531318f0a293f19b23841129cfc 100644 |
--- a/cloud_print/service/win/service_listener.cc |
+++ b/cloud_print/service/win/service_listener.cc |
@@ -91,7 +91,7 @@ void ServiceListener::Connect() { |
SECURITY_SQOS_PRESENT | SECURITY_IDENTIFICATION | |
FILE_FLAG_OVERLAPPED, NULL)); |
if (handle.IsValid()) { |
- channel_ = IPC::Channel::CreateClient(IPC::ChannelHandle(handle), |
+ channel_ = IPC::Channel::CreateClient(IPC::ChannelHandle(handle.Get()), |
this); |
channel_->Connect(); |
} else { |