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

Unified Diff: chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm

Issue 9477016: Remove all |gfx::Image(new SkBitmap(...))| antipatterns. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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
« no previous file with comments | « chrome/browser/themes/browser_theme_pack.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm
diff --git a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm
index 1639f73eaa30ad9138f10edb0a61f5ff9d6e1119..7a635e1ee867014db1486b290795c02ac40c1bed 100644
--- a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm
+++ b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm
@@ -45,7 +45,7 @@ static void ShowGenericExtensionInstalledInfoBar(
IDS_EXTENSION_INSTALLED_MANAGE_INFO_MAC);
InfoBarTabHelper* infobar_helper = wrapper->infobar_tab_helper();
InfoBarDelegate* delegate = new SimpleAlertInfoBarDelegate(
- infobar_helper, new gfx::Image(new SkBitmap(icon)), msg, true);
+ infobar_helper, new gfx::Image(icon), msg, true);
infobar_helper->AddInfoBar(delegate);
}
« no previous file with comments | « chrome/browser/themes/browser_theme_pack.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698