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

Unified Diff: chrome/utility/utility_main.cc

Issue 155876: Revert r21117 as it caused reliability failures.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | chrome/utility/utility_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/utility_main.cc
===================================================================
--- chrome/utility/utility_main.cc (revision 21215)
+++ chrome/utility/utility_main.cc (working copy)
@@ -20,16 +20,15 @@
// Mainline routine for running as the utility process.
int UtilityMain(const MainFunctionParams& parameters) {
- // The main message loop of the utility process.
- MessageLoop main_message_loop;
+ // The main thread of the render process.
+ MessageLoopForIO main_message_loop;
std::wstring app_name = chrome::kBrowserAppName;
PlatformThread::SetName(WideToASCII(app_name + L"_UtilityMain").c_str());
// Initialize the SystemMonitor
base::SystemMonitor::Start();
- ChildProcess utility_process;
- utility_process.set_main_thread(new UtilityThread());
+ ChildProcess utility_process(new UtilityThread());
#if defined(OS_WIN)
sandbox::TargetServices* target_services =
parameters.sandbox_info_.TargetServices();
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | chrome/utility/utility_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698