Ensure that we create a NULL codec for images with zero dimensions
authormsarett <msarett@google.com>
Thu, 23 Apr 2015 15:53:39 +0000 (08:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 23 Apr 2015 15:53:39 +0000 (08:53 -0700)
commit4b17fa353e777de309ca8b0706f1d3e326b59822
treea822408e07b4e0ad2a7b4318aadfa3e6cd0a087d
parent4314e088689dae2fdf8d28415503f710563aaf5c
Ensure that we create a NULL codec for images with zero dimensions

BUG=skia:3534
BUG=skia:3257

Review URL: https://codereview.chromium.org/1091043003
12 files changed:
resources/empty_images/zero-dims.gif [new file with mode: 0644]
resources/empty_images/zero-embedded.ico [new file with mode: 0644]
resources/empty_images/zero-height.bmp [new file with mode: 0644]
resources/empty_images/zero-height.jpg [new file with mode: 0644]
resources/empty_images/zero-height.png [new file with mode: 0644]
resources/empty_images/zero-height.wbmp [new file with mode: 0644]
resources/empty_images/zero-width.bmp [new file with mode: 0644]
resources/empty_images/zero-width.jpg [new file with mode: 0644]
resources/empty_images/zero-width.png [new file with mode: 0644]
resources/empty_images/zero-width.wbmp [new file with mode: 0644]
src/codec/SkCodec_libbmp.cpp
tests/CodexTest.cpp