Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2064)

Unified Diff: chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc

Issue 2216713002: Use BookmarkModelFactory::GetForBrowserContext everywhere (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bookmarks
Patch Set: Replace in .mm files Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « chrome/browser/history/android/bookmark_model_sql_handler.cc ('k') | chrome/browser/history/android/sqlite_cursor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698