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

Unified Diff: chrome/browser/ui/webui/ntp/favicon_webui_handler.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/webui/ntp/app_launcher_handler.cc ('k') | components/bookmarks/browser/bookmark_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc b/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
index c3d741996e277869d707b838cdf5c5fe85a88a61..177a660085b330a0f6223d4dbd193273df3390f9 100644
--- a/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
+++ b/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
@@ -112,9 +112,9 @@ void FaviconWebUIHandler::HandleGetFaviconDominantColor(
dom_id_map_[id_] = dom_id;
favicon_service->GetRawFaviconForPageURL(
- FaviconService::FaviconForPageURLParams(
- url, favicon_base::FAVICON, gfx::kFaviconSize),
- 1.0f,
+ url,
+ favicon_base::FAVICON,
+ gfx::kFaviconSize,
base::Bind(&FaviconWebUIHandler::OnFaviconDataAvailable,
base::Unretained(this),
id_++),
« no previous file with comments | « chrome/browser/ui/webui/ntp/app_launcher_handler.cc ('k') | components/bookmarks/browser/bookmark_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698