diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-04-12 13:41:09 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-12 13:41:09 +0000 |
commit | e7d5c7f48ead8f5554105da9637fd9de1c093d67 (patch) | |
tree | d2d680785cd6c64799530b650b61b81253a7a095 /xfa/fxfa/parser/cxfa_document_parser.h | |
parent | 62110c9ce5e0d74319e25f0f41fd241f4aeeac42 (diff) | |
download | pdfium-e7d5c7f48ead8f5554105da9637fd9de1c093d67.tar.xz |
Remove CFX_XMLDoc and call the parser directly
This CL removes the CFX_XMLDoc and calls the CFX_XMLParser directly from
CXFA_DocumentParser.
Change-Id: I4d715cca90cd15b5e1d79827e0bb2781e873e371
Reviewed-on: https://pdfium-review.googlesource.com/30251
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_document_parser.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_document_parser.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_document_parser.h b/xfa/fxfa/parser/cxfa_document_parser.h index e41bf7bf07..8899494c79 100644 --- a/xfa/fxfa/parser/cxfa_document_parser.h +++ b/xfa/fxfa/parser/cxfa_document_parser.h @@ -39,6 +39,9 @@ class CXFA_DocumentParser { void SetFactory(CXFA_Document* pFactory); private: + std::unique_ptr<CFX_XMLNode> LoadXML( + const RetainPtr<CFX_SeekableStreamProxy>& pStream); + CXFA_Node* ParseAsXDPPacket(CFX_XMLNode* pXMLDocumentNode, XFA_PacketType ePacketID); CXFA_Node* ParseAsXDPPacket_XDP(CFX_XMLNode* pXMLDocumentNode); |