| Index: components/sync_driver/glue/ui_model_worker_unittest.cc
|
| diff --git a/components/sync_driver/glue/ui_model_worker_unittest.cc b/components/sync_driver/glue/ui_model_worker_unittest.cc
|
| index b33594bf7142d58345960e4a57335506e8717644..821bb8eaa13b67d6788b1f0a1bb6e77a716804b0 100644
|
| --- a/components/sync_driver/glue/ui_model_worker_unittest.cc
|
| +++ b/components/sync_driver/glue/ui_model_worker_unittest.cc
|
| @@ -12,6 +12,7 @@
|
| #include "base/location.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "base/run_loop.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/synchronization/waitable_event.h"
|
| #include "base/threading/thread.h"
|
| @@ -95,6 +96,6 @@ TEST_F(SyncUIModelWorkerTest, ScheduledWorkRunsOnUILoop) {
|
|
|
| // We are on the UI thread, so run our loop to process the
|
| // (hopefully) scheduled task from a SyncShare invocation.
|
| - base::MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| syncer_thread()->Stop();
|
| }
|
|
|