| Index: chrome/browser/ui/intents/web_intent_picker_controller.cc
|
| diff --git a/chrome/browser/ui/intents/web_intent_picker_controller.cc b/chrome/browser/ui/intents/web_intent_picker_controller.cc
|
| index 01c4068ca1cc8b0b86e759c170f8a3fe1b85b914..9d05f1a0891c5d732be0c2ea25240bd87719e1ea 100644
|
| --- a/chrome/browser/ui/intents/web_intent_picker_controller.cc
|
| +++ b/chrome/browser/ui/intents/web_intent_picker_controller.cc
|
| @@ -583,8 +583,9 @@ void WebIntentPickerController::OnFaviconDataAvailable(
|
| if (favicon_data.is_valid()) {
|
| SkBitmap icon_bitmap;
|
|
|
| - if (gfx::PNGCodec::Decode(favicon_data.image_data->front(),
|
| - favicon_data.image_data->size(),
|
| + const history::FaviconDataElement& element = favicon_data.elements[0];
|
| + if (gfx::PNGCodec::Decode(element.bitmap_data->front(),
|
| + element.bitmap_data->size(),
|
| &icon_bitmap)) {
|
| gfx::Image icon_image(icon_bitmap);
|
| picker_model_->UpdateFaviconAt(index, icon_image);
|
|
|