Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1654)

Unified Diff: chrome/browser/extensions/extension_install_ui.cc

Issue 10378009: Get rid of Image::Image(SkBitmap*) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_install_ui.cc
diff --git a/chrome/browser/extensions/extension_install_ui.cc b/chrome/browser/extensions/extension_install_ui.cc
index 88178afe9ed193a2a97f594591925a5928aac07d..77dc9bff38a557a91c3eebba864e2ce41662c373 100644
--- a/chrome/browser/extensions/extension_install_ui.cc
+++ b/chrome/browser/extensions/extension_install_ui.cc
@@ -521,7 +521,7 @@ void ExtensionInstallUI::ShowConfirmation() {
case INLINE_INSTALL_PROMPT:
case INSTALL_PROMPT: {
prompt_.set_extension(extension_);
- prompt_.set_icon(gfx::Image(new SkBitmap(icon_)));
+ prompt_.set_icon(gfx::Image(icon_));
ShowExtensionInstallDialog(profile_, delegate_, prompt_);
break;
}

Powered by Google App Engine
This is Rietveld 408576698