Index: net/dns/dns_config_service_posix_unittest.cc |
diff --git a/net/dns/dns_config_service_posix_unittest.cc b/net/dns/dns_config_service_posix_unittest.cc |
index 4a9937014e225a2b33058725f9ad7e89c84e3f59..4d2acdd9623ee65dbbb225ed825b5ab2d209bd6a 100644 |
--- a/net/dns/dns_config_service_posix_unittest.cc |
+++ b/net/dns/dns_config_service_posix_unittest.cc |
@@ -181,7 +181,7 @@ class DnsConfigServicePosixTest : public testing::Test { |
void OnConfigChanged(const DnsConfig& config) { |
EXPECT_TRUE(config.IsValid()); |
seen_config_ = true; |
- base::MessageLoop::current()->Quit(); |
+ base::MessageLoop::current()->QuitWhenIdle(); |
} |
void WriteMockHostsFile(const char* hosts_string) { |