diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_event.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_event.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_event.cpp b/xfa/fxfa/parser/cxfa_event.cpp index 940be135a0..b3ee47b4df 100644 --- a/xfa/fxfa/parser/cxfa_event.cpp +++ b/xfa/fxfa/parser/cxfa_event.cpp @@ -6,6 +6,9 @@ #include "xfa/fxfa/parser/cxfa_event.h" +#include "fxjs/xfa/cjx_event.h" +#include "third_party/base/ptr_util.h" + namespace { const CXFA_Node::PropertyData kPropertyData[] = { @@ -39,6 +42,7 @@ CXFA_Event::CXFA_Event(CXFA_Document* doc, XFA_PacketType packet) XFA_Element::Event, kPropertyData, kAttributeData, - kName) {} + kName, + pdfium::MakeUnique<CJX_Event>(this)) {} CXFA_Event::~CXFA_Event() {} |