summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_rootelement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_rootelement.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_rootelement.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_rootelement.cpp b/xfa/fxfa/parser/cxfa_rootelement.cpp
index 5ba4ed3bb6..a9b86319b7 100644
--- a/xfa/fxfa/parser/cxfa_rootelement.cpp
+++ b/xfa/fxfa/parser/cxfa_rootelement.cpp
@@ -6,7 +6,7 @@
#include "xfa/fxfa/parser/cxfa_rootelement.h"
-#include "fxjs/xfa/cjx_textnode.h"
+#include "fxjs/xfa/cjx_rootelement.h"
#include "third_party/base/ptr_util.h"
namespace {
@@ -31,6 +31,6 @@ CXFA_RootElement::CXFA_RootElement(CXFA_Document* doc, XFA_PacketType packet)
nullptr,
kAttributeData,
kName,
- pdfium::MakeUnique<CJX_TextNode>(this)) {}
+ pdfium::MakeUnique<CJX_RootElement>(this)) {}
CXFA_RootElement::~CXFA_RootElement() {}