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

Unified Diff: chrome/browser/profiles/profile_impl.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/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index e9f2bd28773d6f299c016e5f870c3058beedd4fc..5e8420044ac121d4e7cf79fd70060e466693c1ef 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -660,7 +660,7 @@ void ProfileImpl::DoFinalInit() {
#if !defined(OS_CHROMEOS)
// Listen for bookmark model load, to bootstrap the sync service.
// On CrOS sync service will be initialized after sign in.
- BookmarkModel* model = BookmarkModelFactory::GetForProfile(this);
+ BookmarkModel* model = BookmarkModelFactory::GetForBrowserContext(this);
model->AddObserver(new BookmarkModelLoadedObserver(this));
#endif

Powered by Google App Engine
This is Rietveld 408576698