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 e7e2bec6da65cfbed4bc656c96aa7cd3b315cd7f..bca7d02eeb72564c1c93111c3675a30d9e503a7d 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" |
@@ -75,7 +76,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_; |