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

Issue 111953004: Allow 0-width SkBitmap in setConfig. (Closed)

Created:
7 years ago by hal.canary
Modified:
7 years ago
Reviewers:
scroggo, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Allow 0-width SkBitmap in setConfig. Previously, SkBitmap::setConfig would allow zero height, but not zero width. This is changed for consistancy. A unit test was added. BUG= R=reed@google.com, scroggo@google.com Committed: https://code.google.com/p/skia/source/detail?r=12673

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -1 line) Patch
M gyp/tests.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkBitmap.cpp View 1 chunk +1 line, -1 line 0 comments Download
A tests/BitmapTest.cpp View 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
hal.canary
Tell me how this should behave. This patch makes things consistent.
7 years ago (2013-12-11 13:35:04 UTC) #1
reed1
7 years ago (2013-12-11 13:37:20 UTC) #2
scroggo
That seems fine to me. LGTM
7 years ago (2013-12-11 17:49:57 UTC) #3
reed1
lgtm
7 years ago (2013-12-11 17:57:38 UTC) #4
hal.canary
7 years ago (2013-12-13 18:29:56 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r12673 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698