diff options
author | 2015-10-05 14:20:27 -0700 | |
---|---|---|
committer | 2015-10-05 14:20:27 -0700 | |
commit | cc7f305c696144455ece3e55082d28f0316bbdc1 (patch) | |
tree | cf9a24c99c92241b1eaa1d53b18890f38a4a6b24 /include | |
parent | cb54e8ed4567adabd2ca8b49f7493effd2614158 (diff) |
SkScaledCodec should implement onRewind()
This is a bug fix. I'm also adding a test.
BUG=skia:
Review URL: https://codereview.chromium.org/1385703002
Diffstat (limited to 'include')
-rw-r--r-- | include/codec/SkScaledCodec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/codec/SkScaledCodec.h b/include/codec/SkScaledCodec.h index 92ef19e74f..61208e316a 100644 --- a/include/codec/SkScaledCodec.h +++ b/include/codec/SkScaledCodec.h @@ -26,6 +26,8 @@ public: int* sampleSizeX, int* sampleSizeY); protected: + bool onRewind() override; + /** * Recommend a set of destination dimensions given a requested scale */ |