diff options
Diffstat (limited to 'chrome/common/service_process_util_mac.mm')
-rw-r--r-- | chrome/common/service_process_util_mac.mm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/common/service_process_util_mac.mm b/chrome/common/service_process_util_mac.mm index 62a0371..d06a93e 100644 --- a/chrome/common/service_process_util_mac.mm +++ b/chrome/common/service_process_util_mac.mm @@ -179,6 +179,7 @@ bool ServiceProcessState::Initialize() { return false; } state_->launchd_conf_.reset(dict); + state_->ui_message_loop_= base::MessageLoopProxy::CreateForCurrentThread(); return true; } @@ -322,7 +323,9 @@ bool ServiceProcessState::StateData::WatchExecutable() { LOG(ERROR) << "executable_watcher_.Init " << executable_path.value(); return false; } - if (!executable_watcher_.Watch(executable_path, delegate.release())) { + if (!executable_watcher_.Watch(executable_path, + delegate.release(), + ui_message_loop_)) { LOG(ERROR) << "executable_watcher_.watch " << executable_path.value(); return false; } |