| Index: components/google/core/browser/google_url_tracker_unittest.cc
|
| diff --git a/components/google/core/browser/google_url_tracker_unittest.cc b/components/google/core/browser/google_url_tracker_unittest.cc
|
| index 64eea7636d7e83daa5dc6afb7efacbb269e9f1f7..f6c325a00f8dcbef35aba8ac8a11537fe0f5124f 100644
|
| --- a/components/google/core/browser/google_url_tracker_unittest.cc
|
| +++ b/components/google/core/browser/google_url_tracker_unittest.cc
|
| @@ -9,6 +9,7 @@
|
| #include <utility>
|
|
|
| #include "base/macros.h"
|
| +#include "base/run_loop.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "components/google/core/browser/google_pref_names.h"
|
| #include "components/google/core/browser/google_url_tracker_client.h"
|
| @@ -200,7 +201,7 @@ void GoogleURLTrackerTest::NotifyNetworkChanged() {
|
| net::NetworkChangeNotifier::CONNECTION_UNKNOWN);
|
| // For thread safety, the NCN queues tasks to do the actual notifications, so
|
| // we need to spin the message loop so the tracker will actually be notified.
|
| - base::MessageLoop::current()->RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| // Tests ----------------------------------------------------------------------
|
|
|