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

Unified Diff: chrome/browser/profiles/profile_statistics_aggregator.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_statistics_aggregator.cc
diff --git a/chrome/browser/profiles/profile_statistics_aggregator.cc b/chrome/browser/profiles/profile_statistics_aggregator.cc
index 303be356b2de11908921c97d8e92f9915ef92862..4b6d693e77f49e462e9bf047bed36f3ac83dff5c 100644
--- a/chrome/browser/profiles/profile_statistics_aggregator.cc
+++ b/chrome/browser/profiles/profile_statistics_aggregator.cc
@@ -191,7 +191,7 @@ void ProfileStatisticsAggregator::WaitOrCountBookmarks() {
return;
bookmarks::BookmarkModel* bookmark_model =
- BookmarkModelFactory::GetForProfileIfExists(profile_);
+ BookmarkModelFactory::GetForBrowserContextIfExists(profile_);
if (bookmark_model) {
if (bookmark_model->loaded()) {

Powered by Google App Engine
This is Rietveld 408576698