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

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

Issue 331163003: [Refactor] Change FaviconService API to take in a desired pixel size (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « 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 ac106e1c2ca7c4ddec93fb2b732fd50bfd9f87b6..b4f9f336e552dbc059715110bdc0af88fe5ee157 100644
--- a/chrome/browser/ui/webui/extensions/extension_icon_source.cc
+++ b/chrome/browser/ui/webui/extensions/extension_icon_source.cc
@@ -220,9 +220,9 @@ void ExtensionIconSource::LoadFaviconImage(int request_id) {
GURL favicon_url =
AppLaunchInfo::GetFullLaunchURL(GetData(request_id)->extension);
favicon_service->GetRawFaviconForPageURL(
- FaviconService::FaviconForPageURLParams(
- favicon_url, favicon_base::FAVICON, gfx::kFaviconSize),
- 1.0f,
+ favicon_url,
+ favicon_base::FAVICON,
+ gfx::kFaviconSize,
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