Index: net/proxy/proxy_resolver_v8_tracing_unittest.cc |
diff --git a/net/proxy/proxy_resolver_v8_tracing_unittest.cc b/net/proxy/proxy_resolver_v8_tracing_unittest.cc |
index 3bec37031d854a956531c174af35bcc857d7bead..fbca99f225f792e75e662510b5d23b585da1ca6e 100644 |
--- a/net/proxy/proxy_resolver_v8_tracing_unittest.cc |
+++ b/net/proxy/proxy_resolver_v8_tracing_unittest.cc |
@@ -688,7 +688,7 @@ class BlockableHostResolver : public HostResolver { |
// Indicate to the caller that a request was received. |
EXPECT_TRUE(waiting_for_resolve_); |
- base::MessageLoop::current()->Quit(); |
+ base::MessageLoop::current()->QuitWhenIdle(); |
// This line is intentionally after action_.Run(), since one of the |
// tests does a cancellation inside of Resolve(), and it is more |