| Index: components/web_resource/resource_request_allowed_notifier_unittest.cc
|
| diff --git a/components/web_resource/resource_request_allowed_notifier_unittest.cc b/components/web_resource/resource_request_allowed_notifier_unittest.cc
|
| index 45ffa9a7590b64c8b3736fc59ab39cc6224bd12d..78ceb33f416ff1874b7ee3f9e36510400766a08a 100644
|
| --- a/components/web_resource/resource_request_allowed_notifier_unittest.cc
|
| +++ b/components/web_resource/resource_request_allowed_notifier_unittest.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/memory/ptr_util.h"
|
| +#include "base/run_loop.h"
|
| #include "components/prefs/testing_pref_service.h"
|
| #include "components/web_resource/eula_accepted_notifier.h"
|
| #include "components/web_resource/resource_request_allowed_notifier_test_util.h"
|
| @@ -27,7 +28,7 @@ class TestNetworkChangeNotifier : public net::NetworkChangeNotifier {
|
| connection_type_to_return_ = type;
|
| net::NetworkChangeNotifier::NotifyObserversOfConnectionTypeChangeForTests(
|
| connection_type_to_return_);
|
| - base::MessageLoop::current()->RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| private:
|
|
|