summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser
diff options
context:
space:
mode:
authordan sinclair <dsinclair@chromium.org>2018-04-17 21:55:18 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-17 21:55:18 +0000
commit384e6fefb42ab5d3d71dd60f7f8d5f5155228804 (patch)
tree8fe0d065f51f6a459bd2be6adf625c3dd7a716f7 /xfa/fxfa/parser
parent13aa65a71294cac6e4bdaab73ddd6f4b9fcd8676 (diff)
downloadpdfium-384e6fefb42ab5d3d71dd60f7f8d5f5155228804.tar.xz
CFX_XML Cleanup
Cleanup formatting and unused variables in the CFX_XML classes. Change-Id: I1aff6317a3da38a141a071ba69c7893d0f669732 Reviewed-on: https://pdfium-review.googlesource.com/30730 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser')
-rw-r--r--xfa/fxfa/parser/cxfa_document_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_document_parser.cpp b/xfa/fxfa/parser/cxfa_document_parser.cpp
index 4770d849b1..e4f85f2bac 100644
--- a/xfa/fxfa/parser/cxfa_document_parser.cpp
+++ b/xfa/fxfa/parser/cxfa_document_parser.cpp
@@ -348,7 +348,7 @@ std::unique_ptr<CFX_XMLNode> CXFA_DocumentParser::LoadXML(
const RetainPtr<IFX_SeekableStream>& pStream) {
ASSERT(pStream);
- auto root = pdfium::MakeUnique<CFX_XMLNode>();
+ auto root = pdfium::MakeUnique<CFX_XMLElement>(L"ROOT");
root->AppendChild(pdfium::MakeUnique<CFX_XMLInstruction>(L"xml"));
CFX_XMLParser parser(root.get(), pStream);