Index: net/dns/dns_transaction_unittest.cc |
diff --git a/net/dns/dns_transaction_unittest.cc b/net/dns/dns_transaction_unittest.cc |
index 80473b5a40e81c2943d8ceeb703033c535a18d29..f9667eed5f4ac6dcc1e063c894ff3241bf9e4089 100644 |
--- a/net/dns/dns_transaction_unittest.cc |
+++ b/net/dns/dns_transaction_unittest.cc |
@@ -621,7 +621,7 @@ TEST_F(DnsTransactionTest, Timeout) { |
TransactionHelper helper0(kT0HostName, kT0Qtype, ERR_DNS_TIMED_OUT); |
EXPECT_TRUE(helper0.RunUntilDone(transaction_factory_.get())); |
- base::MessageLoop::current()->AssertIdle(); |
+ EXPECT_TRUE(base::MessageLoop::current()->IsIdleForTesting()); |
} |
TEST_F(DnsTransactionTest, ServerFallbackAndRotate) { |