| Index: components/translate/core/browser/translate_manager_unittest.cc
|
| diff --git a/components/translate/core/browser/translate_manager_unittest.cc b/components/translate/core/browser/translate_manager_unittest.cc
|
| index f285e71b0eb84b1448058c888c17b4effebb216c..7c0ba44f42153fd2c68535f0dcdff4062516b4d4 100644
|
| --- a/components/translate/core/browser/translate_manager_unittest.cc
|
| +++ b/components/translate/core/browser/translate_manager_unittest.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "components/translate/core/browser/translate_manager.h"
|
|
|
| +#include "base/run_loop.h"
|
| #include "base/test/histogram_tester.h"
|
| #include "build/build_config.h"
|
| #include "components/infobars/core/infobar.h"
|
| @@ -47,7 +48,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();
|
| }
|
|
|
| void SimulateOffline() {
|
|
|