Index: components/sync_driver/frontend_data_type_controller_unittest.cc |
diff --git a/components/sync_driver/frontend_data_type_controller_unittest.cc b/components/sync_driver/frontend_data_type_controller_unittest.cc |
index 03c47bdb8d4abe39f09d5ff7be246b53ebb414c1..a64ccc86319016d686cbe0ed210bcae763e11005 100644 |
--- a/components/sync_driver/frontend_data_type_controller_unittest.cc |
+++ b/components/sync_driver/frontend_data_type_controller_unittest.cc |
@@ -11,6 +11,7 @@ |
#include "base/callback.h" |
#include "base/location.h" |
#include "base/message_loop/message_loop.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" |
@@ -149,7 +150,7 @@ class SyncFrontendDataTypeControllerTest : public testing::Test, |
PumpLoop(); |
} |
- void PumpLoop() { base::MessageLoop::current()->RunUntilIdle(); } |
+ void PumpLoop() { base::RunLoop().RunUntilIdle(); } |
base::MessageLoop message_loop_; |
scoped_refptr<FrontendDataTypeControllerFake> frontend_dtc_; |