7#include "xfa/fxfa/parser/cxfa_thisproxy.h"
9#include "fxjs/xfa/cjx_object.h"
10#include "xfa/fxfa/parser/cxfa_document.h"
11#include "xfa/fxfa/parser/cxfa_node.h"
12#include "xfa/fxfa/parser/cxfa_script.h"
14CXFA_ThisProxy::CXFA_ThisProxy(
CXFA_Node* pThisNode, CXFA_Script* pScriptNode)
16 pThisNode->GetDocument(),
17 XFA_ObjectType::ThisProxy,
19 cppgc::MakeGarbageCollected<CJX_Object>(
20 pThisNode->GetDocument()->GetHeap()->GetAllocationHandle(),
22 m_pThisNode(pThisNode),
23 m_pScriptNode(pScriptNode) {}
27void CXFA_ThisProxy::
Trace(
cppgc::Visitor* visitor)
const {
29 visitor->Trace(m_pThisNode);
30 visitor->Trace(m_pScriptNode);
virtual void Trace(cppgc::Visitor *visitor) const
void Trace(cppgc::Visitor *visitor) const override
~CXFA_ThisProxy() override