Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: chrome/renderer/webplugin_delegate_proxy.cc

Issue 155944: Switch the first thread in a child process to be the main thread... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/webplugin_delegate_proxy.cc
===================================================================
--- chrome/renderer/webplugin_delegate_proxy.cc (revision 21342)
+++ chrome/renderer/webplugin_delegate_proxy.cc (working copy)
@@ -237,10 +237,9 @@
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,
- ipc_message_loop);
+ PluginChannelHost::GetPluginChannelHost(
+ channel_handle.name, ChildProcess::current()->io_message_loop());
if (!channel_host.get())
return false;

Powered by Google App Engine
This is Rietveld 408576698