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

Unified Diff: chrome/browser/extensions/extension_web_ui.cc

Issue 10821035: wip 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
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model.cc ('k') | chrome/browser/favicon/favicon_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_web_ui.cc
diff --git a/chrome/browser/extensions/extension_web_ui.cc b/chrome/browser/extensions/extension_web_ui.cc
index 2b8caaf262d68642ebc0d22419f59aa64cf0b18b..7653d83cc922a89bed9e31c6cb18742cd9d1d7cd 100644
--- a/chrome/browser/extensions/extension_web_ui.cc
+++ b/chrome/browser/extensions/extension_web_ui.cc
@@ -131,8 +131,9 @@ class ExtensionWebUIImageLoadingTracker : public ImageLoadingTracker::Observer {
// instance is deleted.
void ForwardResult(scoped_refptr<base::RefCountedMemory> icon_data) {
history::FaviconData favicon;
+ favicon.variants.resize(1); // XXX
favicon.known_icon = icon_data.get() != NULL && icon_data->size() > 0;
- favicon.bitmap_data = icon_data;
+ favicon.variants[0].bitmap_data = icon_data;
favicon.icon_type = history::FAVICON;
request_->ForwardResultAsync(request_->handle(), favicon);
delete this;
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model.cc ('k') | chrome/browser/favicon/favicon_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698