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

Issue 9455062: Add gfx::Image::Image(const SkBitmap&) constructor. (Closed)

Created:
8 years, 10 months ago by Robert Sesek
Modified:
8 years, 9 months ago
CC:
chromium-reviews, sail, jstritar
Visibility:
Public.

Description

Add 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
M ui/gfx/image/image.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gfx/image/image.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M ui/gfx/image/image_unittest.cc View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Robert Sesek
8 years, 10 months ago (2012-02-24 19:00:21 UTC) #1
Mark Mentovai
LGTM
8 years, 10 months ago (2012-02-24 19:01:46 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsesek@chromium.org/9455062/1
8 years, 10 months ago (2012-02-24 19:02:04 UTC) #3
commit-bot: I haz the power
Change committed as 123539
8 years, 10 months ago (2012-02-24 20:43:39 UTC) #4
Ben Goodger (Google)
8 years, 9 months ago (2012-02-28 16:37:52 UTC) #5
lgtm

Powered by Google App Engine
This is Rietveld 408576698