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

Unified Diff: chrome/browser/ui/webui/ntp/app_launcher_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: mac build fix. 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/ui/webui/ntp/app_launcher_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
index 1cbc800b11a78c2744fc0cff013b8a077eb06326..75cda30d61b3e66ff88c4b35cc7d9e6ffeb722c4 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
@@ -706,8 +706,8 @@ void AppLauncherHandler::HandleGenerateAppForLink(const ListValue* args) {
install_info->page_ordinal = page_ordinal;
FaviconService::Handle h = favicon_service->GetFaviconImageForURL(
- profile, launch_url, history::FAVICON, gfx::kFaviconSize,
- &favicon_consumer_,
+ FaviconService::FaviconForURLParams(profile, launch_url, history::FAVICON,
+ gfx::kFaviconSize, &favicon_consumer_),
base::Bind(&AppLauncherHandler::OnFaviconForApp, base::Unretained(this)));
favicon_consumer_.SetClientData(favicon_service, h, install_info.release());
}

Powered by Google App Engine
This is Rietveld 408576698