| Index: components/sync_driver/ui_data_type_controller_unittest.cc
|
| diff --git a/components/sync_driver/ui_data_type_controller_unittest.cc b/components/sync_driver/ui_data_type_controller_unittest.cc
|
| index 98df18a8422c715c914e79988936cf3df6c47990..3e316e6e89e41d99b9a7792796fe459d08ab12ed 100644
|
| --- a/components/sync_driver/ui_data_type_controller_unittest.cc
|
| +++ b/components/sync_driver/ui_data_type_controller_unittest.cc
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/location.h"
|
| +#include "base/run_loop.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "base/tracked_objects.h"
|
| @@ -79,9 +80,7 @@ class SyncUIDataTypeControllerTest : public testing::Test,
|
| PumpLoop();
|
| }
|
|
|
| - void PumpLoop() {
|
| - message_loop_.RunUntilIdle();
|
| - }
|
| + void PumpLoop() { base::RunLoop().RunUntilIdle(); }
|
|
|
| base::MessageLoopForUI message_loop_;
|
| const syncer::ModelType type_;
|
|
|