diff options
author | Chris Blume <cblume@google.com> | 2016-12-20 18:59:39 -0800 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-12-21 16:41:43 +0000 |
commit | d5c5ed556c40f442eec96e071727de1cb07faf58 (patch) | |
tree | ea3e098a5e1b5652194fc13c79a476c9a956b56f /third_party/gif | |
parent | a69f4cf0a7093aa8474b8177627e3976d4f1d9de (diff) |
Make SkGIFLZWBlock modifiable so it is assignable
std::vector needs to be able to assign objects contained inside it. With
const member variables, this isn't possible. Remove the consts so
SkGIFLZWBlock can be assigned.
BUG=skia:6072
Change-Id: I990dc80fb1c49fbd584712c6d0c1154c2da36e85
Reviewed-on: https://skia-review.googlesource.com/6362
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'third_party/gif')
-rw-r--r-- | third_party/gif/SkGifImageReader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/gif/SkGifImageReader.h b/third_party/gif/SkGifImageReader.h index 0481ba2908..ddfd2cef03 100644 --- a/third_party/gif/SkGifImageReader.h +++ b/third_party/gif/SkGifImageReader.h @@ -142,8 +142,8 @@ struct SkGIFLZWBlock { SkGIFLZWBlock(size_t position, size_t size) : blockPosition(position), blockSize(size) {} - const size_t blockPosition; - const size_t blockSize; + size_t blockPosition; + size_t blockSize; }; class SkGIFColorMap final { |