| Index: components/sync_bookmarks/bookmark_data_type_controller_unittest.cc
|
| diff --git a/components/sync_bookmarks/bookmark_data_type_controller_unittest.cc b/components/sync_bookmarks/bookmark_data_type_controller_unittest.cc
|
| index 4430ee6d1c11fe6026a6e9431114d24dd14e7d61..b2d379423300822405c9530edde2418e73309022 100644
|
| --- a/components/sync_bookmarks/bookmark_data_type_controller_unittest.cc
|
| +++ b/components/sync_bookmarks/bookmark_data_type_controller_unittest.cc
|
| @@ -128,7 +128,7 @@ class SyncBookmarkDataTypeControllerTest : public testing::Test,
|
| bookmark_dtc_->StartAssociating(
|
| base::Bind(&StartCallbackMock::Run,
|
| base::Unretained(&start_callback_)));
|
| - base::MessageLoop::current()->RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| void NotifyHistoryServiceLoaded() {
|
| @@ -180,8 +180,7 @@ TEST_F(SyncBookmarkDataTypeControllerTest, StartBookmarkModelNotReady) {
|
| bookmark_dtc_->StartAssociating(
|
| base::Bind(&StartCallbackMock::Run,
|
| base::Unretained(&start_callback_)));
|
| - base::MessageLoop::current()->RunUntilIdle();
|
| -
|
| + base::RunLoop().RunUntilIdle();
|
|
|
| EXPECT_EQ(DataTypeController::RUNNING, bookmark_dtc_->state());
|
| }
|
|
|