summaryrefslogtreecommitdiffstats
path: root/chrome/utility/utility_main.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-21 21:06:23 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-21 21:06:23 +0000
commit421d1cd06fb54c660e0f251df5a0d6403a214670 (patch)
tree174505a79267a4ac711bb20f4730f8c8f65f81ad /chrome/utility/utility_main.cc
parent830853df6093d39820366da09a18296097335d56 (diff)
downloadchromium_src-421d1cd06fb54c660e0f251df5a0d6403a214670.zip
chromium_src-421d1cd06fb54c660e0f251df5a0d6403a214670.tar.gz
chromium_src-421d1cd06fb54c660e0f251df5a0d6403a214670.tar.bz2
Revert r21117 as it caused reliability failures.
Also included in this revert: r21165, r21180, and a couple valgrind suppression edits TBR=huanr Review URL: http://codereview.chromium.org/155876 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21216 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/utility/utility_main.cc')
-rw-r--r--chrome/utility/utility_main.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/utility/utility_main.cc b/chrome/utility/utility_main.cc
index bb669a7..ad66043c 100644
--- a/chrome/utility/utility_main.cc
+++ b/chrome/utility/utility_main.cc
@@ -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();