| Index: chrome/common/service_process_util_posix.cc
|
| diff --git a/chrome/common/service_process_util_posix.cc b/chrome/common/service_process_util_posix.cc
|
| index 189fd7f27fd298da4ddd1dd1dae42e829c151735..fc1aee25ec586f57c587b353aa5836b6462705e1 100644
|
| --- a/chrome/common/service_process_util_posix.cc
|
| +++ b/chrome/common/service_process_util_posix.cc
|
| @@ -96,12 +96,10 @@ bool ServiceProcessState::SignalReady(
|
| CHECK(state_);
|
| CHECK_EQ(g_signal_socket, -1);
|
|
|
| -#if defined(OS_LINUX)
|
| - state_->running_lock_.reset(TakeServiceRunningLock(true));
|
| - if (state_->running_lock_.get() == NULL) {
|
| + if (!SignalReadyPlatformSpecific()) {
|
| return false;
|
| }
|
| -#endif // OS_LINUX
|
| +
|
| state_->shut_down_monitor_.reset(
|
| new ServiceProcessShutdownMonitor(shutdown_task));
|
| if (pipe(state_->sockets_) < 0) {
|
|
|