blob: a9ebbbf17e1c216b21773cfd8a48b94bc0aed873 [file] [log] [blame]
kumarashishg826308d2023-06-23 13:21:22 +00001// Copyright 2017 The PDFium Authors
Philip P. Moltmannd904c1e2018-03-19 09:26:45 -07002// 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_meridiem.h"
8
Haibo Huang49cc9302020-04-27 16:14:24 -07009#include "fxjs/xfa/cjx_node.h"
kumarashishg826308d2023-06-23 13:21:22 +000010#include "xfa/fxfa/parser/cxfa_document.h"
Philip P. Moltmannd904c1e2018-03-19 09:26:45 -070011
12CXFA_Meridiem::CXFA_Meridiem(CXFA_Document* doc, XFA_PacketType packet)
13 : CXFA_Node(doc,
14 packet,
kumarashishg826308d2023-06-23 13:21:22 +000015 XFA_XDPPACKET::kLocaleSet,
Philip P. Moltmannd904c1e2018-03-19 09:26:45 -070016 XFA_ObjectType::ContentNode,
17 XFA_Element::Meridiem,
Haibo Huang49cc9302020-04-27 16:14:24 -070018 {},
19 {},
kumarashishg826308d2023-06-23 13:21:22 +000020 cppgc::MakeGarbageCollected<CJX_Node>(
21 doc->GetHeap()->GetAllocationHandle(),
22 this)) {}
Philip P. Moltmannd904c1e2018-03-19 09:26:45 -070023
Haibo Huang49cc9302020-04-27 16:14:24 -070024CXFA_Meridiem::~CXFA_Meridiem() = default;