diff options
author | 2017-04-12 17:01:26 -0400 | |
---|---|---|
committer | 2017-04-17 16:35:35 +0000 | |
commit | 7d22a33e219ba8038821b378ab80ed9028723d49 (patch) | |
tree | cc8ee51ffb392f579ffa04087c5a2a024934510c /bench/HardStopGradientBench_ScaleNumHardStops.cpp | |
parent | 0cf45f607cfc5d22ef9e6fbe0c7480a409349704 (diff) |
Add a test for getFrameInfo on truncated data
Prior to e132e7be5f9108692254c37db592ea7611abbc15, calling getFrameInfo
on an SkGifCodec which was truncated before fully parsing the local
color map of the first frame would hit an assert. Add a test to verify
that the problem has been fixed.
Modify box.gif to use a local color map for the first (and only) frame.
Change-Id: I905afe60c0c6ecc82e251e00ef82b2e5b22975a3
Reviewed-on: https://skia-review.googlesource.com/13320
Reviewed-by: Chris Blume <cblume@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'bench/HardStopGradientBench_ScaleNumHardStops.cpp')
0 files changed, 0 insertions, 0 deletions