diff options
Diffstat (limited to 'base/prefs/json_pref_store_unittest.cc')
-rw-r--r-- | base/prefs/json_pref_store_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/prefs/json_pref_store_unittest.cc b/base/prefs/json_pref_store_unittest.cc index b44d9e5..f932988 100644 --- a/base/prefs/json_pref_store_unittest.cc +++ b/base/prefs/json_pref_store_unittest.cc @@ -207,7 +207,7 @@ TEST_F(JsonPrefStoreTest, BasicAsync) { EXPECT_CALL(mock_observer, OnInitializationCompleted(true)).Times(1); EXPECT_CALL(*mock_error_delegate, OnError(PersistentPrefStore::PREF_READ_ERROR_NONE)).Times(0); - message_loop_.RunUntilIdle(); + RunLoop().RunUntilIdle(); pref_store->RemoveObserver(&mock_observer); ASSERT_FALSE(pref_store->ReadOnly()); @@ -244,7 +244,7 @@ TEST_F(JsonPrefStoreTest, AsyncNonExistingFile) { EXPECT_CALL(mock_observer, OnInitializationCompleted(true)).Times(1); EXPECT_CALL(*mock_error_delegate, OnError(PersistentPrefStore::PREF_READ_ERROR_NO_FILE)).Times(1); - message_loop_.RunUntilIdle(); + RunLoop().RunUntilIdle(); pref_store->RemoveObserver(&mock_observer); EXPECT_FALSE(pref_store->ReadOnly()); |