| Index: chrome/service/service_process_prefs_unittest.cc
|
| diff --git a/chrome/service/service_process_prefs_unittest.cc b/chrome/service/service_process_prefs_unittest.cc
|
| index 494b8bf3ed20c1843d3c83f5995afe2453c2bbfe..b60eb890287b76f1a0c25ea66325785162632594 100644
|
| --- a/chrome/service/service_process_prefs_unittest.cc
|
| +++ b/chrome/service/service_process_prefs_unittest.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/files/scoped_temp_dir.h"
|
| #include "base/message_loop/message_loop.h"
|
| +#include "base/run_loop.h"
|
| #include "base/sequenced_task_runner.h"
|
| #include "chrome/service/service_process_prefs.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| @@ -35,7 +36,7 @@ TEST_F(ServiceProcessPrefsTest, RetrievePrefs) {
|
| prefs_->SetBoolean("testb", true);
|
| prefs_->SetString("tests", "testvalue");
|
| prefs_->WritePrefs();
|
| - message_loop_.RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| prefs_->SetBoolean("testb", false); // overwrite
|
| prefs_->SetString("tests", std::string()); // overwrite
|
| prefs_->ReadPrefs();
|
|
|