1 // Copyright 2014 The PDFium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #include "xfa/fxfa/parser/cscript_eventpseudomodel.h" 8 9 #include "fxjs/xfa/cjx_eventpseudomodel.h" 10 #include "xfa/fxfa/parser/cxfa_document.h" 11 CScript_EventPseudoModel(CXFA_Document * doc)12CScript_EventPseudoModel::CScript_EventPseudoModel(CXFA_Document* doc) 13 : CXFA_Object(doc, 14 XFA_ObjectType::Object, 15 XFA_Element::EventPseudoModel, 16 cppgc::MakeGarbageCollected<CJX_EventPseudoModel>( 17 doc->GetHeap()->GetAllocationHandle(), 18 this)) {} 19 20 CScript_EventPseudoModel::~CScript_EventPseudoModel() = default; 21