Index: net/proxy/proxy_config_service_android_unittest.cc |
diff --git a/net/proxy/proxy_config_service_android_unittest.cc b/net/proxy/proxy_config_service_android_unittest.cc |
index ecc3185b85157850b5af0c8f71c42926b2799012..4692553212d5f9d51684cebe58c49ba078dd1231 100644 |
--- a/net/proxy/proxy_config_service_android_unittest.cc |
+++ b/net/proxy/proxy_config_service_android_unittest.cc |
@@ -11,6 +11,7 @@ |
#include "base/bind.h" |
#include "base/compiler_specific.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/run_loop.h" |
#include "net/proxy/proxy_config.h" |
#include "net/proxy/proxy_info.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -64,7 +65,7 @@ class ProxyConfigServiceAndroidTestBase : public testing::Test { |
// testing::Test: |
void SetUp() override { |
- message_loop_->RunUntilIdle(); |
+ base::RunLoop().RunUntilIdle(); |
service_.AddObserver(&observer_); |
} |
@@ -87,7 +88,7 @@ class ProxyConfigServiceAndroidTestBase : public testing::Test { |
void ProxySettingsChanged() { |
service_.ProxySettingsChanged(); |
- message_loop_->RunUntilIdle(); |
+ base::RunLoop().RunUntilIdle(); |
} |
void TestMapping(const std::string& url, const std::string& expected) { |