| 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 e2db5135e8a853e82aa27dd7a500ebc2589993e5..7d3c14e9654c1c83a5ffc71e7f060fa3613b82ed 100644
|
| --- a/chrome/browser/extensions/extension_web_ui.cc
|
| +++ b/chrome/browser/extensions/extension_web_ui.cc
|
| @@ -103,10 +103,13 @@ class ExtensionWebUIImageLoadingTracker : public ImageLoadingTracker::Observer {
|
| // |icon_data| may be backed by NULL. Once the result has been forwarded the
|
| // instance is deleted.
|
| void ForwardResult(scoped_refptr<RefCountedMemory> icon_data) {
|
| - bool know_icon = icon_data.get() != NULL && icon_data->size() > 0;
|
| + FaviconService::FaviconData favicon;
|
| + favicon.known_icon = icon_data.get() != NULL && icon_data->size() > 0;
|
| + favicon.image_data = icon_data;
|
| + favicon.icon_type = history::FAV_ICON;
|
| request_->ForwardResultAsync(
|
| FaviconService::FaviconDataCallback::TupleType(request_->handle(),
|
| - know_icon, icon_data, false, GURL()));
|
| + favicon));
|
| delete this;
|
| }
|
|
|
|
|