Index: content/renderer/render_thread_impl.cc |
=================================================================== |
--- content/renderer/render_thread_impl.cc (revision 119665) |
+++ content/renderer/render_thread_impl.cc (working copy) |
@@ -186,6 +186,9 @@ |
initialize_com_.reset(new base::win::ScopedCOMInitializer()); |
#endif |
+ // Register this object as the main thread. |
+ ChildProcess::current()->set_main_thread(this); |
+ |
// In single process the single process is all there is. |
suspend_webkit_shared_timer_ = true; |
notify_webkit_of_modal_loop_ = true; |