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

Unified Diff: chrome/common/local_discovery/service_discovery_client_unittest.cc

Issue 1395103003: Don't use base::MessageLoop::{Quit,QuitClosure} in chrome/ (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 | « chrome/common/local_discovery/local_domain_resolver_unittest.cc ('k') | chrome/common/mac/mock_launchd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/local_discovery/service_discovery_client_unittest.cc
diff --git a/chrome/common/local_discovery/service_discovery_client_unittest.cc b/chrome/common/local_discovery/service_discovery_client_unittest.cc
index ed6db5c6c0c679e712502cb642c0c3a41cec823a..0b77410372fa9b51046e891082da129ad99fe2c3 100644
--- a/chrome/common/local_discovery/service_discovery_client_unittest.cc
+++ b/chrome/common/local_discovery/service_discovery_client_unittest.cc
@@ -223,9 +223,7 @@ class ServiceDiscoveryTest : public ::testing::Test {
callback.Cancel();
}
- void Stop() {
- base::MessageLoop::current()->Quit();
- }
+ void Stop() { base::MessageLoop::current()->QuitWhenIdle(); }
net::MockMDnsSocketFactory socket_factory_;
net::MDnsClientImpl mdns_client_;
« no previous file with comments | « chrome/common/local_discovery/local_domain_resolver_unittest.cc ('k') | chrome/common/mac/mock_launchd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698