| 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 924f984b1e49b7c7df00b719e23438d55dad6a3c..1802c564946cb74f3c16c30696e5e0588250e0ff 100644
|
| --- a/chrome/browser/ui/intents/web_intent_picker_controller.cc
|
| +++ b/chrome/browser/ui/intents/web_intent_picker_controller.cc
|
| @@ -529,7 +529,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;
|
| }
|
| @@ -633,7 +633,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,
|
|
|