Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 732f0e257348f4ac8621dd4bfe2c5b75c3bb59f5..6bf9d0fb6199379a1e788bf249319d03b43c609f 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -756,6 +756,11 @@ int BrowserMainLoop::PreCreateThreads() { |
RenderProcessHost::SetRunRendererInProcess(true); |
#endif |
+ // parts may want to do some processing just before actually starting the |
+ // threads. |
+ if (parts_) |
+ parts_->PreCreateThreadsEnd(); |
+ |
return result_code_; |
} |