Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cxfa_nodeowner.cpp
Go to the documentation of this file.
1// Copyright 2018 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_nodeowner.h"
8
9#include "fxjs/gc/container_trace.h"
10#include "third_party/base/check.h"
11#include "xfa/fxfa/parser/cxfa_list.h"
12#include "xfa/fxfa/parser/cxfa_node.h"
13
14CXFA_NodeOwner::CXFA_NodeOwner() = default;
15
16CXFA_NodeOwner::~CXFA_NodeOwner() = default;
17
18void CXFA_NodeOwner::Trace(cppgc::Visitor* visitor) const {
19 ContainerTrace(visitor, lists_);
20}
21
23 DCHECK(list);
24 lists_.emplace_back(list);
25}
void PersistList(CXFA_List *list)
Definition heap.h:12