diff options
author | Lei Zhang <thestig@chromium.org> | 2015-10-07 21:31:16 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-10-07 21:31:16 -0700 |
commit | 26c9e2caf07b57aeec24a13dd0a824d05af37fa2 (patch) | |
tree | cc0b8de203a983b5cdae1fd6bf851ebf81a0d41b /core/src/fxcodec/jbig2/JBig2_Context.h | |
parent | 1862e57553c857596b29db8a176a98ade956ea1b (diff) | |
download | pdfium-26c9e2caf07b57aeec24a13dd0a824d05af37fa2.tar.xz |
Merge to XFA: Remove gotos in JBig2 code.
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1382613003 .
(cherry picked from commit 8a9ce5778e0789beb7ba15a62c592a353a51bcdd)
Review URL: https://codereview.chromium.org/1397683002 .
Diffstat (limited to 'core/src/fxcodec/jbig2/JBig2_Context.h')
-rw-r--r-- | core/src/fxcodec/jbig2/JBig2_Context.h | 2 |
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; |