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

Unified Diff: chrome/browser/ui/webui/chrome_web_ui_controller_factory.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/chrome_web_ui_controller_factory.cc
diff --git a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
index dcfb73293d72ad40c648693274070b04d84116aa..d16840f1a77da4fbcf4ed79e06a2cc527bea8526 100644
--- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
@@ -460,10 +460,10 @@ void ChromeWebUIControllerFactory::GetFaviconForURL(
ExtensionWebUI::GetFaviconForURL(profile, request, url);
} else {
history::FaviconData favicon;
- favicon.image_data = scoped_refptr<base::RefCountedMemory>(
+ favicon.bitmap_data = scoped_refptr<base::RefCountedMemory>(
GetFaviconResourceBytes(url));
- favicon.known_icon = favicon.image_data.get() != NULL &&
- favicon.image_data->size() > 0;
+ favicon.known_icon = favicon.bitmap_data.get() != NULL &&
+ favicon.bitmap_data->size() > 0;
favicon.icon_type = history::FAVICON;
request->ForwardResultAsync(request->handle(), favicon);
}

Powered by Google App Engine
This is Rietveld 408576698