summaryrefslogtreecommitdiffstats
path: root/chrome/common/mac/mock_launchd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/mac/mock_launchd.cc')
-rw-r--r--chrome/common/mac/mock_launchd.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/mac/mock_launchd.cc b/chrome/common/mac/mock_launchd.cc
index b4e80ec..3af8aef 100644
--- a/chrome/common/mac/mock_launchd.cc
+++ b/chrome/common/mac/mock_launchd.cc
@@ -226,7 +226,7 @@ CFDictionaryRef MockLaunchd::CopyDictionaryByCheckingIn(CFErrorRef* error) {
bool MockLaunchd::RemoveJob(CFStringRef label, CFErrorRef* error) {
remove_called_ = true;
- message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
+ message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitWhenIdleClosure());
return true;
}
@@ -235,7 +235,7 @@ bool MockLaunchd::RestartJob(Domain domain,
CFStringRef name,
CFStringRef session_type) {
restart_called_ = true;
- message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
+ message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitWhenIdleClosure());
return true;
}