summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/jbig2/JBig2_Context.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-10-07 10:37:07 -0700
committerLei Zhang <thestig@chromium.org>2015-10-07 10:37:07 -0700
commit8a9ce5778e0789beb7ba15a62c592a353a51bcdd (patch)
treeceaccf240881b4176f9866dae9a2ccb6fea7ee4d /core/src/fxcodec/jbig2/JBig2_Context.h
parent16703313a78f2370726a0663e9b90d67610daad8 (diff)
downloadpdfium-8a9ce5778e0789beb7ba15a62c592a353a51bcdd.tar.xz
Remove gotos in JBig2 code.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1382613003 .
Diffstat (limited to 'core/src/fxcodec/jbig2/JBig2_Context.h')
-rw-r--r--core/src/fxcodec/jbig2/JBig2_Context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fxcodec/jbig2/JBig2_Context.h b/core/src/fxcodec/jbig2/JBig2_Context.h
index 8681609ca0..3c283d1d5b 100644
--- a/core/src/fxcodec/jbig2/JBig2_Context.h
+++ b/core/src/fxcodec/jbig2/JBig2_Context.h
@@ -118,7 +118,7 @@ class CJBig2_Context {
int32_t m_PauseStep;
IFX_Pause* m_pPause;
FXCODEC_STATUS m_ProcessingStatus;
- CJBig2_ArithDecoder* m_pArithDecoder;
+ nonstd::unique_ptr<CJBig2_ArithDecoder> m_pArithDecoder;
nonstd::unique_ptr<CJBig2_GRDProc> m_pGRD;
JBig2ArithCtx* m_gbContext;
nonstd::unique_ptr<CJBig2_Segment> m_pSegment;