Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: chrome/common/service_process_util_mac.mm

Issue 6731064: kqueue implementation of FilePathWatcher on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more minor tweaks Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/service_process_util_mac.mm
diff --git a/chrome/common/service_process_util_mac.mm b/chrome/common/service_process_util_mac.mm
index d06a93eac1d5f81e7737434afc0ddc0e50fcda82..62a037111852b376d34f4fd9cf09dfa14de23711 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;
}

Powered by Google App Engine
This is Rietveld 408576698