Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
cxfa_thisproxy.cpp
Go to the documentation of this file.
1
// Copyright 2016 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/cxfa_thisproxy.h"
8
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"
13
14
CXFA_ThisProxy::CXFA_ThisProxy(
CXFA_Node
* pThisNode, CXFA_Script* pScriptNode)
15
: CXFA_Object(
16
pThisNode->GetDocument(),
17
XFA_ObjectType::ThisProxy,
18
XFA_Element::Object,
19
cppgc::MakeGarbageCollected<CJX_Object>(
20
pThisNode->GetDocument()->GetHeap()->GetAllocationHandle(),
21
this
)),
22
m_pThisNode(pThisNode),
23
m_pScriptNode(pScriptNode) {}
24
25
CXFA_ThisProxy::~
CXFA_ThisProxy
() =
default
;
26
27
void
CXFA_ThisProxy::
Trace
(
cppgc
::Visitor* visitor)
const
{
28
CXFA_Object
::
Trace
(visitor);
29
visitor->Trace(m_pThisNode);
30
visitor->Trace(m_pScriptNode);
31
}
CXFA_Node
Definition
cxfa_node.h:94
CXFA_Object
Definition
cxfa_object.h:42
CXFA_Object::Trace
virtual void Trace(cppgc::Visitor *visitor) const
Definition
cxfa_object.cpp:33
CXFA_ThisProxy::Trace
void Trace(cppgc::Visitor *visitor) const override
Definition
cxfa_thisproxy.cpp:27
CXFA_ThisProxy::~CXFA_ThisProxy
~CXFA_ThisProxy() override
cppgc
Definition
heap.h:12
qtwebengine
src
3rdparty
chromium
third_party
pdfium
xfa
fxfa
parser
cxfa_thisproxy.cpp
Generated on
for Qt by
1.18.0