Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: src/codec/SkBmpRLECodec.h

Issue 1689953002: Fix scanline decoding of rare RLE bmps (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/codec/SkBmpRLECodec.h
diff --git a/src/codec/SkBmpRLECodec.h b/src/codec/SkBmpRLECodec.h
index df2a97d84502010a0c86efc5940466f9aba16082..bcad1a42963412661abf5858e72b04b7653cc811 100644
--- a/src/codec/SkBmpRLECodec.h
+++ b/src/codec/SkBmpRLECodec.h
@@ -96,9 +96,11 @@ private:
const uint32_t fOffset;
SkAutoTDeleteArray<uint8_t> fStreamBuffer;
size_t fRLEBytes;
+ const size_t fOrigRLEBytes;
uint32_t fCurrRLEByte;
int fSampleX;
SkAutoTDelete<SkSampler> fSampler;
+ int fLinesToSkip;
typedef SkBmpCodec INHERITED;
};
« no previous file with comments | « resources/rle.bmp ('k') | src/codec/SkBmpRLECodec.cpp » ('j') | src/codec/SkBmpRLECodec.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698