Index: mojo/edk/system/channel_win.cc |
diff --git a/mojo/edk/system/channel_win.cc b/mojo/edk/system/channel_win.cc |
index 232577ffece7ffdd80f7d1382361437c3279464b..c15df16bb1341308c6db89de41ceea9cbb7fa16c 100644 |
--- a/mojo/edk/system/channel_win.cc |
+++ b/mojo/edk/system/channel_win.cc |
@@ -350,9 +350,10 @@ class ChannelWin : public Channel, |
// static |
scoped_refptr<Channel> Channel::Create( |
Delegate* delegate, |
- ScopedPlatformHandle platform_handle, |
+ ConnectionParams connection_params, |
scoped_refptr<base::TaskRunner> io_task_runner) { |
- return new ChannelWin(delegate, std::move(platform_handle), io_task_runner); |
+ return new ChannelWin(delegate, connection_params.TakeChannelHandle(), |
+ io_task_runner); |
} |
} // namespace edk |