summaryrefslogtreecommitdiff
path: root/core/fxcodec/jbig2/JBig2_GrdProc.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-05-01 14:32:54 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-01 14:32:54 +0000
commitea603b9f0baf33462b61fa4ee6364e4f4161f55a (patch)
tree0a1f18531181ac30a4a87cd5e67909f4248bfb66 /core/fxcodec/jbig2/JBig2_GrdProc.h
parent723543481bea9c6ea14fc39b71333b34eb8d89b4 (diff)
downloadpdfium-ea603b9f0baf33462b61fa4ee6364e4f4161f55a.tar.xz
Clean up CJBig2_Image compose methods.
- Mark them private when possible. - Disambiguate method names. - Make method names match the style guide. - Pass in rects by reference. Change-Id: I0bf848756e81a92d20e46a81cd6260b660eaf482 Reviewed-on: https://pdfium-review.googlesource.com/31772 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_GrdProc.h')
-rw-r--r--core/fxcodec/jbig2/JBig2_GrdProc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcodec/jbig2/JBig2_GrdProc.h b/core/fxcodec/jbig2/JBig2_GrdProc.h
index 30c0fa6b6b..08081dde3d 100644
--- a/core/fxcodec/jbig2/JBig2_GrdProc.h
+++ b/core/fxcodec/jbig2/JBig2_GrdProc.h
@@ -36,7 +36,7 @@ class CJBig2_GRDProc {
CJBig2_BitStream* pStream);
FXCODEC_STATUS ContinueDecode(PauseIndicatorIface* pPause,
CJBig2_ArithDecoder* pArithDecoder);
- FX_RECT GetReplaceRect() const { return m_ReplaceRect; }
+ const FX_RECT& GetReplaceRect() const { return m_ReplaceRect; }
bool MMR;
uint32_t GBW;