Index: chrome/renderer/webplugin_delegate_proxy.cc |
=================================================================== |
--- chrome/renderer/webplugin_delegate_proxy.cc (revision 21215) |
+++ chrome/renderer/webplugin_delegate_proxy.cc (working copy) |
@@ -237,9 +237,10 @@ |
IPC::AddChannelSocket(channel_handle.name, channel_handle.socket.fd); |
#endif |
+ MessageLoop* ipc_message_loop = RenderThread::current()->owner_loop(); |
scoped_refptr<PluginChannelHost> channel_host = |
- PluginChannelHost::GetPluginChannelHost( |
- channel_handle.name, ChildProcess::current()->io_message_loop()); |
+ PluginChannelHost::GetPluginChannelHost(channel_handle.name, |
+ ipc_message_loop); |
if (!channel_host.get()) |
return false; |