Index: chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc |
diff --git a/chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc b/chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc |
index 529f98264f7724e59c3e9bcb13cd6bdb6fbb043a..52d6ccac13950759d9989c62ac7b3a0501ed74b8 100644 |
--- a/chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc |
+++ b/chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc |
@@ -48,7 +48,8 @@ class BookmarkModelSQLHandlerTest : public testing::Test { |
chrome::kInitialProfile); |
// Create the BookmarkModel that doesn't need to invoke load(). |
testing_profile->CreateBookmarkModel(true); |
- bookmark_model_ = BookmarkModelFactory::GetForProfile(testing_profile); |
+ bookmark_model_ = |
+ BookmarkModelFactory::GetForBrowserContext(testing_profile); |
bookmarks::test::WaitForBookmarkModelToLoad(bookmark_model_); |
ASSERT_TRUE(bookmark_model_); |
// Get the BookmarkModel from LastUsedProfile, this is the same way that |