Index: webkit/glue/plugins/pepper_plugin_module.cc |
diff --git a/webkit/glue/plugins/pepper_plugin_module.cc b/webkit/glue/plugins/pepper_plugin_module.cc |
index 0da663a7cef432bfeb03880b657fb2f2231d9523..997ddfdcd8f9541b8f87d3e225988e6eae487e32 100644 |
--- a/webkit/glue/plugins/pepper_plugin_module.cc |
+++ b/webkit/glue/plugins/pepper_plugin_module.cc |
@@ -416,13 +416,7 @@ bool PluginModule::InitForOutOfProcess(MessageLoop* ipc_message_loop, |
dispatcher_.reset(new pp::proxy::HostDispatcher( |
remote_process, var_interface, pp_module(), &GetInterface)); |
-#if defined(OS_POSIX) |
- // If we received a ChannelHandle, register it now. |
- if (handle.socket.fd >= 0) |
- IPC::AddChannelSocket(handle.name, handle.socket.fd); |
-#endif |
- |
- if (!dispatcher_->InitWithChannel(ipc_message_loop, handle.name, true, |
+ if (!dispatcher_->InitWithChannel(ipc_message_loop, handle, true, |
shutdown_event)) { |
dispatcher_.reset(); |
return false; |