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

Unified Diff: chrome/browser/ui/webui/extensions/extension_icon_source.cc

Issue 56143002: Make FaviconService() use Porfile as parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unit test but break the DEPS Created 7 years, 1 month 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 | « chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc ('k') | chrome/browser/ui/webui/favicon_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/extensions/extension_icon_source.cc
diff --git a/chrome/browser/ui/webui/extensions/extension_icon_source.cc b/chrome/browser/ui/webui/extensions/extension_icon_source.cc
index 22dcf451fe4ee374f1deac33142481526fa83d0f..591edac2cc36a3c5f58c418253459c6b12d0c59f 100644
--- a/chrome/browser/ui/webui/extensions/extension_icon_source.cc
+++ b/chrome/browser/ui/webui/extensions/extension_icon_source.cc
@@ -220,8 +220,8 @@ void ExtensionIconSource::LoadFaviconImage(int request_id) {
GURL favicon_url =
AppLaunchInfo::GetFullLaunchURL(GetData(request_id)->extension);
favicon_service->GetRawFaviconForURL(
- FaviconService::FaviconForURLParams(
- profile_, favicon_url, chrome::FAVICON, gfx::kFaviconSize),
+ FaviconService::FaviconForURLParams(favicon_url, chrome::FAVICON,
+ gfx::kFaviconSize),
ui::SCALE_FACTOR_100P,
base::Bind(&ExtensionIconSource::OnFaviconDataAvailable,
base::Unretained(this), request_id),
« no previous file with comments | « chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc ('k') | chrome/browser/ui/webui/favicon_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698