Index: net/proxy/proxy_resolver_v8_tracing_wrapper_unittest.cc |
diff --git a/net/proxy/proxy_resolver_v8_tracing_wrapper_unittest.cc b/net/proxy/proxy_resolver_v8_tracing_wrapper_unittest.cc |
index c83f6553796d97ee2e350f2e107a39ddf268d443..fdb823e7bc81de30e5e41858d46887bc3b276e22 100644 |
--- a/net/proxy/proxy_resolver_v8_tracing_wrapper_unittest.cc |
+++ b/net/proxy/proxy_resolver_v8_tracing_wrapper_unittest.cc |
@@ -774,7 +774,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 |