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

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: 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/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,
James Hawkins 2012/09/05 22:39:50 nit: The start of param rows must align on the sam
+ gfx::kFaviconSize, &favicon_consumer_),
base::Bind(&AppLauncherHandler::OnFaviconForApp, base::Unretained(this)));
favicon_consumer_.SetClientData(favicon_service, h, install_info.release());
}
« no previous file with comments | « chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc ('k') | chrome/browser/ui/webui/ntp/favicon_webui_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698