diff options
author | msarett <msarett@google.com> | 2016-08-22 07:41:28 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-22 07:41:28 -0700 |
commit | 35bb74b444bc4a9ed2f437d97c6a943012990fe3 (patch) | |
tree | cdf1630d2d7f351ad4479d5a6b0c132605001246 /src/codec/SkPngCodec.h | |
parent | a629166d6edf25ba39b3fe6ff1b749f0787df104 (diff) |
Fix color xform width bug when scaling/subsetting
This was not caught by the bots because we don't test
color correct modes with our many image decoding tests
(takes too long).
Adding a unit test.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2247743002
Review-Url: https://codereview.chromium.org/2247743002
Diffstat (limited to 'src/codec/SkPngCodec.h')
-rw-r--r-- | src/codec/SkPngCodec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codec/SkPngCodec.h b/src/codec/SkPngCodec.h index b689f6fbae..9d97c719da 100644 --- a/src/codec/SkPngCodec.h +++ b/src/codec/SkPngCodec.h @@ -41,7 +41,7 @@ protected: SkASSERT(fSwizzler); return fSwizzler; } - void allocateStorage(const SkImageInfo& dstInfo); + void allocateStorage(); virtual int readRows(const SkImageInfo& dstInfo, void* dst, size_t rowBytes, int count, int startRow) = 0; |