diff options
author | Lei Zhang <thestig@chromium.org> | 2017-08-24 00:54:01 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-28 18:38:03 +0000 |
commit | 959279182e2ef325aa2a2a8a45ec4143916ef17c (patch) | |
tree | 5c4663daae286060c554e1f5f5c1f0af3e2dab83 /core/fxcodec/jbig2/JBig2_Image.cpp | |
parent | 91f443f4f3b9682959435a5417b48975729b9338 (diff) | |
download | pdfium-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.cpp')
-rw-r--r-- | core/fxcodec/jbig2/JBig2_Image.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcodec/jbig2/JBig2_Image.cpp b/core/fxcodec/jbig2/JBig2_Image.cpp index f026ce660b..e07eb32fe3 100644 --- a/core/fxcodec/jbig2/JBig2_Image.cpp +++ b/core/fxcodec/jbig2/JBig2_Image.cpp @@ -74,7 +74,7 @@ CJBig2_Image::~CJBig2_Image() { } } -int CJBig2_Image::getPixel(int32_t x, int32_t y) { +int CJBig2_Image::getPixel(int32_t x, int32_t y) const { if (!m_pData) return 0; |