| Index: chrome/service/service_process.cc
|
| diff --git a/chrome/service/service_process.cc b/chrome/service/service_process.cc
|
| index c521e3290a0f274eb8ef6676735bb166db05aa6d..4183faeeab7552ad3376ceecf24ed48eaab31e2a 100644
|
| --- a/chrome/service/service_process.cc
|
| +++ b/chrome/service/service_process.cc
|
| @@ -141,8 +141,11 @@ bool ServiceProcess::Initialize(MessageLoop* message_loop,
|
|
|
| // After the IPC server has started we signal that the service process is
|
| // ready.
|
| - ServiceProcessState::GetInstance()->SignalReady(
|
| - NewRunnableMethod(this, &ServiceProcess::Shutdown));
|
| + if (!ServiceProcessState::GetInstance()->SignalReady(
|
| + io_thread_->message_loop(),
|
| + NewRunnableMethod(this, &ServiceProcess::Shutdown))) {
|
| + return false;
|
| + }
|
|
|
| // See if we need to stay running.
|
| ScheduleShutdownCheck();
|
|
|