summaryrefslogtreecommitdiffstats
path: root/chrome/common/service_process_util_mac.mm
diff options
context:
space:
mode:
authordmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 23:33:33 +0000
committerdmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 23:33:33 +0000
commit4f96241da28ab67c163fb387299acbaa27fe00f9 (patch)
tree016adbd635a5e8671ca1ef4e24e05a6f84363d25 /chrome/common/service_process_util_mac.mm
parent2251e91401150e5b94a6fc1913fa1fd8a225289b (diff)
downloadchromium_src-4f96241da28ab67c163fb387299acbaa27fe00f9.zip
chromium_src-4f96241da28ab67c163fb387299acbaa27fe00f9.tar.gz
chromium_src-4f96241da28ab67c163fb387299acbaa27fe00f9.tar.bz2
kqueue implementation of FilePathWatcher on Mac.
BUG=54822,77391,77217,77064,69641 TEST=BUILD Review URL: http://codereview.chromium.org/6731064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80101 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/service_process_util_mac.mm')
-rw-r--r--chrome/common/service_process_util_mac.mm5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/common/service_process_util_mac.mm b/chrome/common/service_process_util_mac.mm
index d06a93e..62a0371 100644
--- a/chrome/common/service_process_util_mac.mm
+++ b/chrome/common/service_process_util_mac.mm
@@ -179,7 +179,6 @@ bool ServiceProcessState::Initialize() {
return false;
}
state_->launchd_conf_.reset(dict);
- state_->ui_message_loop_= base::MessageLoopProxy::CreateForCurrentThread();
return true;
}
@@ -323,9 +322,7 @@ bool ServiceProcessState::StateData::WatchExecutable() {
LOG(ERROR) << "executable_watcher_.Init " << executable_path.value();
return false;
}
- if (!executable_watcher_.Watch(executable_path,
- delegate.release(),
- ui_message_loop_)) {
+ if (!executable_watcher_.Watch(executable_path, delegate.release())) {
LOG(ERROR) << "executable_watcher_.watch " << executable_path.value();
return false;
}