Index: chrome/browser/history/android/sqlite_cursor_unittest.cc |
diff --git a/chrome/browser/history/android/sqlite_cursor_unittest.cc b/chrome/browser/history/android/sqlite_cursor_unittest.cc |
index 56e47a888d43ed25364828099e1072fba1e93e3c..48be49b68323059a637bc58901165ab3d8658c6e 100644 |
--- a/chrome/browser/history/android/sqlite_cursor_unittest.cc |
+++ b/chrome/browser/history/android/sqlite_cursor_unittest.cc |
@@ -11,6 +11,7 @@ |
#include "base/android/jni_string.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/time/time.h" |
+#include "chrome/browser/bookmarks/bookmark_model_factory.h" |
#include "chrome/browser/bookmarks/bookmark_test_helpers.h" |
#include "chrome/browser/history/android/android_history_provider_service.h" |
#include "chrome/browser/history/android/android_history_types.h" |
@@ -60,7 +61,8 @@ class SQLiteCursorTest : public testing::Test, |
chrome::kInitialProfile); |
testing_profile_->CreateBookmarkModel(true); |
- test::WaitForBookmarkModelToLoad(testing_profile_); |
+ test::WaitForBookmarkModelToLoad( |
+ BookmarkModelFactory::GetForProfile(testing_profile_)); |
testing_profile_->CreateFaviconService(); |
ASSERT_TRUE(testing_profile_->CreateHistoryService(true, false)); |