kumarashishg | 826308d | 2023-06-23 13:21:22 +0000 | [diff] [blame] | 1 | // Copyright 2017 The PDFium Authors |
Philip P. Moltmann | d904c1e | 2018-03-19 09:26:45 -0700 | [diff] [blame] | 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_meridiem.h" |
| 8 | |
Haibo Huang | 49cc930 | 2020-04-27 16:14:24 -0700 | [diff] [blame] | 9 | #include "fxjs/xfa/cjx_node.h" |
kumarashishg | 826308d | 2023-06-23 13:21:22 +0000 | [diff] [blame] | 10 | #include "xfa/fxfa/parser/cxfa_document.h" |
Philip P. Moltmann | d904c1e | 2018-03-19 09:26:45 -0700 | [diff] [blame] | 11 | |
| 12 | CXFA_Meridiem::CXFA_Meridiem(CXFA_Document* doc, XFA_PacketType packet) |
| 13 | : CXFA_Node(doc, |
| 14 | packet, |
kumarashishg | 826308d | 2023-06-23 13:21:22 +0000 | [diff] [blame] | 15 | XFA_XDPPACKET::kLocaleSet, |
Philip P. Moltmann | d904c1e | 2018-03-19 09:26:45 -0700 | [diff] [blame] | 16 | XFA_ObjectType::ContentNode, |
| 17 | XFA_Element::Meridiem, |
Haibo Huang | 49cc930 | 2020-04-27 16:14:24 -0700 | [diff] [blame] | 18 | {}, |
| 19 | {}, |
kumarashishg | 826308d | 2023-06-23 13:21:22 +0000 | [diff] [blame] | 20 | cppgc::MakeGarbageCollected<CJX_Node>( |
| 21 | doc->GetHeap()->GetAllocationHandle(), |
| 22 | this)) {} |
Philip P. Moltmann | d904c1e | 2018-03-19 09:26:45 -0700 | [diff] [blame] | 23 | |
Haibo Huang | 49cc930 | 2020-04-27 16:14:24 -0700 | [diff] [blame] | 24 | CXFA_Meridiem::~CXFA_Meridiem() = default; |