Remove all |gfx::Image(new SkBitmap(...))| antipatterns.
commit92614aaee8eed94f0fac70a483c7bfb71ba4225f
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 15 Mar 2012 00:54:49 +0000 (15 00:54 +0000)
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 15 Mar 2012 00:54:49 +0000 (15 00:54 +0000)
treebdac1baa8cab340fa8fbf1d1ac418f05e9bd07ce
parent63642521d8aa7d2900209ede7fb3b737564ae649
Remove all |gfx::Image(new SkBitmap(...))| antipatterns.

Now that gfx::Image can take a const-ref SkBitmap to copy it, the copy
no longer needs to happen at the time of Image creation.

The new constructor was added at
http://codereview.chromium.org/9455062/.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/9477016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126808 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/favicon/favicon_handler.cc
chrome/browser/icon_loader_mac.mm
chrome/browser/profiles/profile_info_util.cc
chrome/browser/themes/browser_theme_pack.cc
chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm