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

Unified Diff: chrome/browser/ui/webui/ntp/favicon_webui_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/favicon_webui_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc b/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
index 1002ddd2eca6082c4a130f393d9ce3704f11674f..8bfa40bca9094b8a8c92b56f9a54243c17d9dcc5 100644
--- a/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
+++ b/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
@@ -126,7 +126,7 @@ void FaviconWebUIHandler::OnFaviconDataAvailable(
scoped_ptr<StringValue> color_value;
if (favicon.is_valid())
- color_value.reset(GetDominantColorCssString(favicon.image_data));
+ color_value.reset(GetDominantColorCssString(favicon.bitmap_data));
else
color_value.reset(new StringValue("#919191"));

Powered by Google App Engine
This is Rietveld 408576698