1 // Copyright 2016 PDFium Authors. All rights reserved. 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/cxfa_thisproxy.h" 8 9 #include "fxjs/xfa/cjx_object.h" 10 #include "third_party/base/ptr_util.h" 11 #include "xfa/fxfa/parser/cxfa_node.h" 12 CXFA_ThisProxy(CXFA_Node * pThisNode,CXFA_Node * pScriptNode)13CXFA_ThisProxy::CXFA_ThisProxy(CXFA_Node* pThisNode, CXFA_Node* pScriptNode) 14 : CXFA_Object(pThisNode->GetDocument(), 15 XFA_ObjectType::ThisProxy, 16 XFA_Element::Object, 17 pdfium::MakeUnique<CJX_Object>(this)), 18 m_pThisNode(pThisNode), 19 m_pScriptNode(pScriptNode) {} 20 21 CXFA_ThisProxy::~CXFA_ThisProxy() = default; 22