diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-04-05 16:33:44 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-05 20:36:33 +0000 |
commit | 5f983bb6aeae696ec5577a66771ef19cc3140b49 (patch) | |
tree | 2e0ec281852feb3c8aba93498a80e7c5adcaa886 /xfa/fde/xml/cfde_xmldoc.h | |
parent | 3198c681df875f7f268f03040b64343741d4bda1 (diff) | |
download | pdfium-5f983bb6aeae696ec5577a66771ef19cc3140b49.tar.xz |
Update XML syntax parser to return strings
This Cl updates the CFDE_XMLSyntaxParser to return strings instead of
taking out parameters.
Change-Id: I51124d8d961c00a72987c1a21025d0626b965fab
Reviewed-on: https://pdfium-review.googlesource.com/3754
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fde/xml/cfde_xmldoc.h')
-rw-r--r-- | xfa/fde/xml/cfde_xmldoc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fde/xml/cfde_xmldoc.h b/xfa/fde/xml/cfde_xmldoc.h index 3eb07a87e1..6143750428 100644 --- a/xfa/fde/xml/cfde_xmldoc.h +++ b/xfa/fde/xml/cfde_xmldoc.h @@ -20,8 +20,9 @@ class CFDE_XMLDoc { ~CFDE_XMLDoc(); bool LoadXML(std::unique_ptr<CFDE_XMLParser> pXMLParser); - int32_t DoLoad(IFX_Pause* pPause = nullptr); + int32_t DoLoad(IFX_Pause* pPause); void CloseXML(); + CFDE_XMLNode* GetRoot() const { return m_pRoot.get(); } void SaveXMLNode(const CFX_RetainPtr<IFGAS_Stream>& pXMLStream, CFDE_XMLNode* pNode); |