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

Unified Diff: chrome/browser/android/bookmarks/bookmark_bridge.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
« no previous file with comments | « no previous file | chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/bookmarks/bookmark_bridge.cc
diff --git a/chrome/browser/android/bookmarks/bookmark_bridge.cc b/chrome/browser/android/bookmarks/bookmark_bridge.cc
index d9b0e1b39e2e03f2213404511cc6a4c7a303710b..7e60344284cebe072ff718067400abd1c515f684 100644
--- a/chrome/browser/android/bookmarks/bookmark_bridge.cc
+++ b/chrome/browser/android/bookmarks/bookmark_bridge.cc
@@ -101,7 +101,7 @@ BookmarkBridge::BookmarkBridge(JNIEnv* env, jobject obj, jobject j_profile)
partner_bookmarks_shim_(NULL) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
profile_ = ProfileAndroid::FromProfileAndroid(j_profile);
- bookmark_model_ = BookmarkModelFactory::GetForProfile(profile_);
+ bookmark_model_ = BookmarkModelFactory::GetForBrowserContext(profile_);
managed_bookmark_service_ =
ManagedBookmarkServiceFactory::GetForProfile(profile_);
« no previous file with comments | « no previous file | chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698