| 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 88b3e4e8710baca3d4c62b3b3f9f464e7d99483f..0d23686aa1ed63f478733f318e69f08be3576432 100644
|
| --- a/chrome/browser/ui/intents/web_intent_picker_controller.cc
|
| +++ b/chrome/browser/ui/intents/web_intent_picker_controller.cc
|
| @@ -454,7 +454,7 @@ void WebIntentPickerController::OnFaviconDataAvailable(
|
| if (gfx::PNGCodec::Decode(favicon_data.image_data->front(),
|
| favicon_data.image_data->size(),
|
| &icon_bitmap)) {
|
| - gfx::Image icon_image(new SkBitmap(icon_bitmap));
|
| + gfx::Image icon_image(icon_bitmap);
|
| picker_model_->UpdateFaviconAt(index, icon_image);
|
| return;
|
| }
|
| @@ -558,7 +558,7 @@ void WebIntentPickerController::DecodeExtensionIconAndResize(
|
| icon_bitmap,
|
| skia::ImageOperations::RESIZE_BEST,
|
| gfx::kFaviconSize, gfx::kFaviconSize);
|
| - gfx::Image icon_image(new SkBitmap(resized_icon));
|
| + gfx::Image icon_image(resized_icon);
|
|
|
| content::BrowserThread::PostTask(
|
| content::BrowserThread::UI,
|
|
|