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 | 9bf4639b49741355d2a6eedd2b7be7e3bdd1fd32 (patch) | |
tree | 42c3b3980705aeba297bad35967de9278614c8af | |
parent | 03ba6430f5eabb92d46de46eea79a598a5164ed4 (diff) | |
download | gyp-9bf4639b49741355d2a6eedd2b7be7e3bdd1fd32.tar.gz |
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/gyp@12673 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | tests.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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', |