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

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

Issue 10918065: Introduce structures to reduce the number of arguments in the FaviconService methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove the auxiliary structure for non-URL cases. Created 8 years, 3 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_handler.cc
diff --git a/chrome/browser/favicon/favicon_handler.cc b/chrome/browser/favicon/favicon_handler.cc
index 6152d642145e580a1fc9333da8959a2586493e0c..93e6089e0cc97358a5a4b6b052a85786e4f6e3ea 100644
--- a/chrome/browser/favicon/favicon_handler.cc
+++ b/chrome/browser/favicon/favicon_handler.cc
@@ -393,9 +393,10 @@ void FaviconHandler::GetFaviconForURL(
int icon_types,
CancelableRequestConsumerBase* consumer,
const FaviconService::FaviconResultsCallback& callback) {
- GetFaviconService()->GetFaviconForURL(profile_, page_url, icon_types,
- preferred_icon_size(), ui::GetSupportedScaleFactors(), consumer,
- callback);
+ GetFaviconService()->GetFaviconForURL(
+ FaviconService::FaviconForURLParams(profile_, page_url, icon_types,
+ preferred_icon_size(), consumer),
+ ui::GetSupportedScaleFactors(), callback);
}
void FaviconHandler::SetHistoryFavicon(

Powered by Google App Engine
This is Rietveld 408576698