summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_document_parser_unittest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_document_parser_unittest.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_document_parser_unittest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_document_parser_unittest.cpp b/xfa/fxfa/parser/cxfa_document_parser_unittest.cpp
index 9f68fc143b..b150abc3ea 100644
--- a/xfa/fxfa/parser/cxfa_document_parser_unittest.cpp
+++ b/xfa/fxfa/parser/cxfa_document_parser_unittest.cpp
@@ -17,7 +17,7 @@ class CXFA_DocumentParserTest : public testing::Test {
void TearDown() override {
// Hold the XML tree until we cleanup the document.
- std::unique_ptr<CFX_XMLNode> root = parser_->GetXMLRoot();
+ std::unique_ptr<CFX_XMLDocument> doc = parser_->GetXMLDoc();
parser_ = nullptr;
doc_ = nullptr;
}
@@ -30,7 +30,7 @@ class CXFA_DocumentParserTest : public testing::Test {
std::unique_ptr<CXFA_DocumentParser> parser_;
};
-TEST_F(CXFA_DocumentParserTest, XMLInstructionScriptOff) {
+TEST_F(CXFA_DocumentParserTest, XMLInstructionsScriptOff) {
const char* input =
"<config>\n"
"<?originalXFAVersion http://www.xfa.org/schema/xfa-template/2.7 "