| 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 ee97269163040583756f867f7dec50b7065c605f..1830459cacf1e9dab91c732eefe5654e6d53497b 100644
|
| --- a/chrome/browser/ui/intents/web_intent_picker_controller.cc
|
| +++ b/chrome/browser/ui/intents/web_intent_picker_controller.cc
|
| @@ -590,8 +590,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(),
|
| + 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);
|
|
|