aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPictureData.h
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2018-02-01 14:45:50 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-01 20:09:58 +0000
commit40d8297ca873faa5454a50b64b4ae7651fd84375 (patch)
tree30ec6ea04b68b4f16520c76a8e25adf293f2fc02 /src/core/SkPictureData.h
parent7a13705e03b7ba3d7f858f2e3081c353c7be8bd4 (diff)
detect truncated pict streams
Bug: skia:7565 Change-Id: I203797fb8d4ced8d3fcb13de71feb5f4487c9515 Reviewed-on: https://skia-review.googlesource.com/102661 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/core/SkPictureData.h')
-rw-r--r--src/core/SkPictureData.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkPictureData.h b/src/core/SkPictureData.h
index 0927f7727a..2be1da81de 100644
--- a/src/core/SkPictureData.h
+++ b/src/core/SkPictureData.h
@@ -140,7 +140,7 @@ private:
// Does not affect ownership of SkStream.
bool parseStreamTag(SkStream*, uint32_t tag, uint32_t size,
const SkDeserialProcs&, SkTypefacePlayback*);
- bool parseBufferTag(SkReadBuffer&, uint32_t tag, uint32_t size);
+ void parseBufferTag(SkReadBuffer&, uint32_t tag, uint32_t size);
void flattenToBuffer(SkWriteBuffer&) const;
SkTArray<SkPaint> fPaints;