diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-02-13 21:27:44 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-13 21:27:44 +0000 |
commit | 9c112f92d4c2046d5a4f8538f4d18b74a87649d4 (patch) | |
tree | ffd0ba656902d28257e6560c8713df895802d313 /xfa/fxfa/parser/cxfa_simple_parser.cpp | |
parent | 20eb52e66c565d36a78dc1399f04f7485ccf8fe6 (diff) | |
download | pdfium-9c112f92d4c2046d5a4f8538f4d18b74a87649d4.tar.xz |
Cleanup CFX_XMLDoc::SaveXMLNode
The CFX_XMLDoc::SaveXMLNode method is almost an exact copy of the
CFX_XMLNode::SaveXMLNode. This CL removes the XMLDoc variant and calls
the XMLNode method directly.
This Removes the need to pass the CXFA_DocumentParser into CXFA_Document
and we can instead pass in the CXFA_FFNotify object directly.
Change-Id: Ic3c8c66375483fe73b44dd84064a1b71b039d61c
Reviewed-on: https://pdfium-review.googlesource.com/26530
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_simple_parser.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_simple_parser.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/xfa/fxfa/parser/cxfa_simple_parser.cpp b/xfa/fxfa/parser/cxfa_simple_parser.cpp index 0bce147223..f21506d557 100644 --- a/xfa/fxfa/parser/cxfa_simple_parser.cpp +++ b/xfa/fxfa/parser/cxfa_simple_parser.cpp @@ -468,10 +468,6 @@ CXFA_Node* CXFA_SimpleParser::GetRootNode() const { return m_pRootNode; } -CFX_XMLDoc* CXFA_SimpleParser::GetXMLDoc() const { - return m_pXMLDoc.get(); -} - CXFA_Node* CXFA_SimpleParser::ParseAsXDPPacket(CFX_XMLNode* pXMLDocumentNode, XFA_PacketType ePacketID) { switch (ePacketID) { |