| Index: chrome/browser/chromeos/login/oobe_localization_browsertest.cc
|
| diff --git a/chrome/browser/chromeos/login/oobe_localization_browsertest.cc b/chrome/browser/chromeos/login/oobe_localization_browsertest.cc
|
| index 76bcc37a361e1ca4c04016ef7f681d3db7f7ada0..ab3fad4e904797cf3294bd7cccaeb9ce89a6998c 100644
|
| --- a/chrome/browser/chromeos/login/oobe_localization_browsertest.cc
|
| +++ b/chrome/browser/chromeos/login/oobe_localization_browsertest.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/message_loop/message_loop.h"
|
| +#include "base/run_loop.h"
|
| #include "base/strings/stringprintf.h"
|
| #include "base/task_runner.h"
|
| #include "base/time/time.h"
|
| @@ -417,7 +418,7 @@ void OobeLocalizationTest::RunLocalizationTest() {
|
|
|
| // Shut down the display host.
|
| LoginDisplayHost::default_host()->Finalize();
|
| - base::MessageLoopForUI::current()->RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
|
|
| // Clear the locale pref so the statistics provider is pinged next time.
|
| g_browser_process->local_state()->SetString(prefs::kApplicationLocale,
|
|
|