diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-04-13 17:03:37 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-13 21:15:02 +0000 |
commit | 7b7c6532310eeeabadae7b34fdf86f4a890951e8 (patch) | |
tree | bc4b3c20ae1dd5bdd82dbda9622448298fe57426 /xfa/fde/xml/cfde_xmlsyntaxparser.h | |
parent | 7062b2632ffa351903e508003788b67a8c8aba77 (diff) | |
download | pdfium-7b7c6532310eeeabadae7b34fdf86f4a890951e8.tar.xz |
Fold LoadFile{Read|Write} back into constructors
The load file methods are always called right after creating the class.
This Cl moves their code up into the constructor and then changes the
other code to assume that the m_pFile{Read|Write} always exists.
Change-Id: I015abf71ea4804d02d4f6f94b97eb1e7855e1fc4
Reviewed-on: https://pdfium-review.googlesource.com/4110
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fde/xml/cfde_xmlsyntaxparser.h')
-rw-r--r-- | xfa/fde/xml/cfde_xmlsyntaxparser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fde/xml/cfde_xmlsyntaxparser.h b/xfa/fde/xml/cfde_xmlsyntaxparser.h index 9f1274fa83..f229cc02b1 100644 --- a/xfa/fde/xml/cfde_xmlsyntaxparser.h +++ b/xfa/fde/xml/cfde_xmlsyntaxparser.h @@ -98,7 +98,7 @@ class CFDE_XMLSyntaxParser { void ParseTextChar(wchar_t ch); CFX_RetainPtr<IFGAS_Stream> m_pStream; - int32_t m_iXMLPlaneSize; + FX_STRSIZE m_iXMLPlaneSize; int32_t m_iCurrentPos; int32_t m_iCurrentNodeNum; int32_t m_iLastNodeNum; |