summaryrefslogtreecommitdiff
path: root/core/fxcodec/jbig2
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-04-04 15:27:21 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-04-04 23:05:19 +0000
commit20a909e655147e21f966b95af6b683d85736c8c2 (patch)
tree1bf66f3587e271b31f3d9e4ec34f650dad6ffdea /core/fxcodec/jbig2
parent236ce3ba2f274307db9ed49c595e242cd811716c (diff)
downloadpdfium-20a909e655147e21f966b95af6b683d85736c8c2.tar.xz
Remove a couple checks for MakeUnique failures.
Combine some common CCodec_Jbig2Module code. Change-Id: I9a046314bc0e9dddc9a8c1a06b37764e9f3cc4b6 Reviewed-on: https://pdfium-review.googlesource.com/3713 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fxcodec/jbig2')
-rw-r--r--core/fxcodec/jbig2/JBig2_Context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcodec/jbig2/JBig2_Context.h b/core/fxcodec/jbig2/JBig2_Context.h
index 31865d4d46..a9fb1e2451 100644
--- a/core/fxcodec/jbig2/JBig2_Context.h
+++ b/core/fxcodec/jbig2/JBig2_Context.h
@@ -54,7 +54,7 @@ class CJBig2_Context {
IFX_Pause* pPause);
int32_t Continue(IFX_Pause* pPause);
- FXCODEC_STATUS GetProcessingStatus() { return m_ProcessingStatus; }
+ FXCODEC_STATUS GetProcessingStatus() const { return m_ProcessingStatus; }
private:
int32_t decode_SquentialOrgnazation(IFX_Pause* pPause);