| Index: net/quic/quic_network_transaction_unittest.cc
|
| diff --git a/net/quic/quic_network_transaction_unittest.cc b/net/quic/quic_network_transaction_unittest.cc
|
| index 6c3fdfd27c90ebc3469e4cc355b35c007c89e536..710584c42f3c14d837a8243a9872fd4cd2f89fad 100644
|
| --- a/net/quic/quic_network_transaction_unittest.cc
|
| +++ b/net/quic/quic_network_transaction_unittest.cc
|
| @@ -274,16 +274,16 @@ class QuicNetworkTransactionTest
|
|
|
| void SetUp() override {
|
| NetworkChangeNotifier::NotifyObserversOfIPAddressChangeForTests();
|
| - base::MessageLoop::current()->RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| void TearDown() override {
|
| NetworkChangeNotifier::NotifyObserversOfIPAddressChangeForTests();
|
| // Empty the current queue.
|
| - base::MessageLoop::current()->RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| PlatformTest::TearDown();
|
| NetworkChangeNotifier::NotifyObserversOfIPAddressChangeForTests();
|
| - base::MessageLoop::current()->RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| std::unique_ptr<QuicEncryptedPacket> ConstructClientConnectionClosePacket(
|
| @@ -2162,7 +2162,7 @@ class QuicNetworkTransactionWithDestinationTest
|
|
|
| void SetUp() override {
|
| NetworkChangeNotifier::NotifyObserversOfIPAddressChangeForTests();
|
| - base::MessageLoop::current()->RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
|
|
| HttpNetworkSession::Params params;
|
|
|
| @@ -2201,10 +2201,10 @@ class QuicNetworkTransactionWithDestinationTest
|
| void TearDown() override {
|
| NetworkChangeNotifier::NotifyObserversOfIPAddressChangeForTests();
|
| // Empty the current queue.
|
| - base::MessageLoop::current()->RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| PlatformTest::TearDown();
|
| NetworkChangeNotifier::NotifyObserversOfIPAddressChangeForTests();
|
| - base::MessageLoop::current()->RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| void SetAlternativeService(const std::string& origin) {
|
|
|