DescriptionRemove 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 #
Messages
Total messages: 9 (0 generated)
|