diff options
author | halcanary@google.com <halcanary@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-13 18:29:51 +0000 |
---|---|---|
committer | halcanary@google.com <halcanary@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-13 18:29:51 +0000 |
commit | 4428734907480cdb4ccecb47152d7be8cd1aec32 (patch) | |
tree | 520bff41ac842edf673efa42d59115366363c544 /gyp | |
parent | 0daa1adb03b4b1fc11d854cb7754416ac05a31e8 (diff) |
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
Review URL: https://codereview.chromium.org/111953004
git-svn-id: http://skia.googlecode.com/svn/trunk@12673 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/tests.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gyp/tests.gyp b/gyp/tests.gyp index 4c8053e6a6..d6a1a7c57b 100644 --- a/gyp/tests.gyp +++ b/gyp/tests.gyp @@ -32,6 +32,7 @@ '../tests/AnnotationTest.cpp', '../tests/ARGBImageEncoderTest.cpp', '../tests/AtomicTest.cpp', + '../tests/BitmapTest.cpp', '../tests/BitmapCopyTest.cpp', '../tests/BitmapGetColorTest.cpp', '../tests/BitmapHasherTest.cpp', |