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

Unified Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.cc

Issue 10802066: Adds support for saving favicon size into history database. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
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 5faf90563318fe0526442d1950f90882eaad28f4..c0e70a8a4a1b45fd50c63a302b36a7d360b7de8f 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
@@ -794,8 +794,8 @@ void AppLauncherHandler::OnFaviconForApp(FaviconService::Handle handle,
WebApplicationInfo::IconInfo icon;
web_app->icons.push_back(icon);
- if (data.is_valid() && gfx::PNGCodec::Decode(data.image_data->front(),
- data.image_data->size(),
+ if (data.is_valid() && gfx::PNGCodec::Decode(data.bitmap_data->front(),
+ data.bitmap_data->size(),
&(web_app->icons[0].data))) {
web_app->icons[0].url = GURL();
web_app->icons[0].width = web_app->icons[0].data.width();

Powered by Google App Engine
This is Rietveld 408576698