summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_connectstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_connectstring.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_connectstring.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_connectstring.cpp b/xfa/fxfa/parser/cxfa_connectstring.cpp
index 12e37772d8..87eb70d365 100644
--- a/xfa/fxfa/parser/cxfa_connectstring.cpp
+++ b/xfa/fxfa/parser/cxfa_connectstring.cpp
@@ -6,6 +6,9 @@
#include "xfa/fxfa/parser/cxfa_connectstring.h"
+#include "fxjs/xfa/cjx_connectstring.h"
+#include "third_party/base/ptr_util.h"
+
namespace {
const CXFA_Node::AttributeData kAttributeData[] = {
@@ -28,6 +31,7 @@ CXFA_ConnectString::CXFA_ConnectString(CXFA_Document* doc,
XFA_Element::ConnectString,
nullptr,
kAttributeData,
- kName) {}
+ kName,
+ pdfium::MakeUnique<CJX_ConnectString>(this)) {}
CXFA_ConnectString::~CXFA_ConnectString() {}