DescriptionAdd gfx::Image::Image(const SkBitmap&) constructor.
This helps avoid the pattern |new gfx::Image(new SkBitmap(some_stack_skbitmap))|.
BUG=none
TEST=ui_unittests --gtest_filter=ImageTest.SkiaRefToSkia
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=123539
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|