| Index: chrome/service/service_main.cc
|
| diff --git a/chrome/service/service_main.cc b/chrome/service/service_main.cc
|
| index 9242c173f9aec0c93f59087ed37f5cf0390a7db6..6ecf6b5eb7d2a51b9e9526f943ea12c7f40d71d1 100644
|
| --- a/chrome/service/service_main.cc
|
| +++ b/chrome/service/service_main.cc
|
| @@ -17,8 +17,7 @@
|
|
|
| // Mainline routine for running as the service process.
|
| int ServiceProcessMain(const MainFunctionParams& parameters) {
|
| - MessageLoopForUI main_message_loop;
|
| - main_message_loop.set_thread_name("MainThread");
|
| + MessageLoopForUI main_message_loop("CrServiceMain");
|
| if (parameters.command_line_.HasSwitch(switches::kWaitForDebugger)) {
|
| base::debug::WaitForDebugger(60, true);
|
| }
|
| @@ -30,8 +29,6 @@ int ServiceProcessMain(const MainFunctionParams& parameters) {
|
| chrome_application_mac::RegisterCrApp();
|
| #endif
|
|
|
| - base::PlatformThread::SetName("CrServiceMain");
|
| -
|
| // If there is already a service process running, quit now.
|
| scoped_ptr<ServiceProcessState> state(new ServiceProcessState);
|
| if (!state->Initialize())
|
|
|