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

Issue 9477016: Remove all |gfx::Image(new SkBitmap(...))| antipatterns. (Closed)

Created:
8 years, 10 months ago by Robert Sesek
Modified:
8 years, 9 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip+watch_chromium.org
Visibility:
Public.

Description

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 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126808

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -12 lines) Patch
M chrome/browser/favicon/favicon_handler.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/icon_loader_mac.mm View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/profiles/profile_info_util.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/themes/browser_theme_pack.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Robert Sesek
8 years, 9 months ago (2012-02-28 16:23:44 UTC) #1
Robert Sesek
ben: ping
8 years, 9 months ago (2012-02-29 19:44:00 UTC) #2
Ben Goodger (Google)
lgtm
8 years, 9 months ago (2012-02-29 20:12:15 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsesek@chromium.org/9477016/1
8 years, 9 months ago (2012-02-29 20:13:07 UTC) #4
commit-bot: I haz the power
Presubmit check for 9477016-1 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 9 months ago (2012-02-29 20:13:11 UTC) #5
Robert Sesek
+sail for profiles please cq if lg
8 years, 9 months ago (2012-03-14 21:24:20 UTC) #6
sail
lgtm LGTM, thanks for doing this!
8 years, 9 months ago (2012-03-14 21:27:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsesek@chromium.org/9477016/1
8 years, 9 months ago (2012-03-14 21:32:24 UTC) #8
commit-bot: I haz the power
8 years, 9 months ago (2012-03-15 00:54:51 UTC) #9
Change committed as 126808

Powered by Google App Engine
This is Rietveld 408576698