aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2015-10-05 14:20:27 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-05 14:20:27 -0700
commitcc7f305c696144455ece3e55082d28f0316bbdc1 (patch)
treecf9a24c99c92241b1eaa1d53b18890f38a4a6b24 /include
parentcb54e8ed4567adabd2ca8b49f7493effd2614158 (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.h2
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
*/