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

Unified Diff: chrome/browser/ui/webui/ntp/app_launcher_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, 6 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 5f5fe6b4f061c0c9229e89555289a030e82e6fa3..f627b88a2931476601a693cf8adc31bb06f0b1c5 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
@@ -60,7 +60,6 @@
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/webui/web_ui_util.h"
-#include "ui/gfx/favicon_size.h"
#include "url/gurl.h"
using content::WebContents;
@@ -701,8 +700,7 @@ void AppLauncherHandler::HandleGenerateAppForLink(const base::ListValue* args) {
install_info->page_ordinal = page_ordinal;
favicon_service->GetFaviconImageForPageURL(
- FaviconService::FaviconForPageURLParams(
- launch_url, favicon_base::FAVICON, gfx::kFaviconSize),
+ launch_url,
base::Bind(&AppLauncherHandler::OnFaviconForApp,
base::Unretained(this),
base::Passed(&install_info)),

Powered by Google App Engine
This is Rietveld 408576698