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

Unified Diff: chromeos/dbus/services/service_provider_test_helper.cc

Issue 1396083003: Don't use base::MessageLoop::{Quit,QuitClosure} in ash/, chromeos/, device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « ash/test/test_system_tray_delegate.cc ('k') | chromeos/login/auth/mock_auth_status_consumer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/services/service_provider_test_helper.cc
diff --git a/chromeos/dbus/services/service_provider_test_helper.cc b/chromeos/dbus/services/service_provider_test_helper.cc
index 9b701728e8879cef51ee2210289557d5f1589257..67162441d65e0e935240cf02d3a41dbf0c6e735d 100644
--- a/chromeos/dbus/services/service_provider_test_helper.cc
+++ b/chromeos/dbus/services/service_provider_test_helper.cc
@@ -158,7 +158,7 @@ void ServiceProviderTestHelper::OnResponse(
response_ = response.Pass();
response_received_ = true;
if (base::MessageLoop::current()->is_running())
- base::MessageLoop::current()->Quit();
+ base::MessageLoop::current()->QuitWhenIdle();
}
} // namespace chromeos
« no previous file with comments | « ash/test/test_system_tray_delegate.cc ('k') | chromeos/login/auth/mock_auth_status_consumer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698