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

Unified Diff: chrome/browser/favicon/favicon_utils.cc

Issue 2216713002: Use BookmarkModelFactory::GetForBrowserContext everywhere (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bookmarks
Patch Set: Eliminate Profile::FromBrowserContext in some places 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/favicon/favicon_utils.cc
diff --git a/chrome/browser/favicon/favicon_utils.cc b/chrome/browser/favicon/favicon_utils.cc
index fc8cd058cf3337591473ac9835ea59ec9eb521e6..a662aeb28f226ad69a0284474c9dd97b8d498e71 100644
--- a/chrome/browser/favicon/favicon_utils.cc
+++ b/chrome/browser/favicon/favicon_utils.cc
@@ -28,7 +28,7 @@ void CreateContentFaviconDriverForWebContents(
original_profile, ServiceAccessType::IMPLICIT_ACCESS),
HistoryServiceFactory::GetForProfile(original_profile,
ServiceAccessType::IMPLICIT_ACCESS),
- BookmarkModelFactory::GetForProfileIfExists(original_profile));
+ BookmarkModelFactory::GetForBrowserContextIfExists(original_profile));
}
bool ShouldDisplayFavicon(content::WebContents* web_contents) {

Powered by Google App Engine
This is Rietveld 408576698