Index: chrome/renderer/webplugin_delegate_proxy.cc |
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc |
index 0aaa742b8d6b39db542a314d865e31b8b950662c..5c8d550b2c13b57a3a1290457b461923989e5b2c 100644 |
--- a/chrome/renderer/webplugin_delegate_proxy.cc |
+++ b/chrome/renderer/webplugin_delegate_proxy.cc |
@@ -292,15 +292,9 @@ bool WebPluginDelegateProxy::Initialize(const GURL& url, |
return false; |
} |
-#if defined(OS_POSIX) |
- // If we received a ChannelHandle, register it now. |
- if (channel_handle.socket.fd >= 0) |
- IPC::AddChannelSocket(channel_handle.name, channel_handle.socket.fd); |
-#endif |
- |
scoped_refptr<PluginChannelHost> channel_host( |
PluginChannelHost::GetPluginChannelHost( |
- channel_handle.name, ChildProcess::current()->io_message_loop())); |
+ channel_handle, ChildProcess::current()->io_message_loop())); |
if (!channel_host.get()) |
return false; |