summaryrefslogtreecommitdiff
path: root/core/fxcodec/jbig2/JBig2_Image.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-08-24 00:54:01 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-08-28 18:38:03 +0000
commit959279182e2ef325aa2a2a8a45ec4143916ef17c (patch)
tree5c4663daae286060c554e1f5f5c1f0af3e2dab83 /core/fxcodec/jbig2/JBig2_Image.h
parent91f443f4f3b9682959435a5417b48975729b9338 (diff)
downloadpdfium-959279182e2ef325aa2a2a8a45ec4143916ef17c.tar.xz
Add helper methods in CJBig2_GRRDProc.
Refactor identical code used in decode_Template0_unopt() into their own methods. Change-Id: I37348a280ecc66d91fdcd3c9aabe49d2a8065417 Reviewed-on: https://pdfium-review.googlesource.com/11950 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_Image.h')
-rw-r--r--core/fxcodec/jbig2/JBig2_Image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcodec/jbig2/JBig2_Image.h b/core/fxcodec/jbig2/JBig2_Image.h
index 807468aa0b..1f418fb7e2 100644
--- a/core/fxcodec/jbig2/JBig2_Image.h
+++ b/core/fxcodec/jbig2/JBig2_Image.h
@@ -32,7 +32,7 @@ class CJBig2_Image {
int32_t height() const { return m_nHeight; }
int32_t stride() const { return m_nStride; }
- int getPixel(int32_t x, int32_t y);
+ int getPixel(int32_t x, int32_t y) const;
int32_t setPixel(int32_t x, int32_t y, int bVal);
void copyLine(int32_t hTo, int32_t hFrom);