aboutsummaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_caption.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_caption.h')
-rw-r--r--xfa/fxfa/parser/cxfa_caption.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_caption.h b/xfa/fxfa/parser/cxfa_caption.h
index 9e7d38a3e..a00d6d4d1 100644
--- a/xfa/fxfa/parser/cxfa_caption.h
+++ b/xfa/fxfa/parser/cxfa_caption.h
@@ -1,4 +1,4 @@
-// Copyright 2017 PDFium Authors. All rights reserved.
+// Copyright 2017 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -18,7 +18,7 @@ class CXFA_Caption final : public CXFA_Node {
static constexpr XFA_AttributeValue kDefaultPlacementType =
XFA_AttributeValue::Left;
- CXFA_Caption(CXFA_Document* doc, XFA_PacketType packet);
+ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED;
~CXFA_Caption() override;
bool IsVisible();
@@ -28,6 +28,9 @@ class CXFA_Caption final : public CXFA_Node {
CXFA_Margin* GetMarginIfExists();
CXFA_Font* GetFontIfExists();
CXFA_Value* GetValueIfExists();
+
+ private:
+ CXFA_Caption(CXFA_Document* doc, XFA_PacketType packet);
};
#endif // XFA_FXFA_PARSER_CXFA_CAPTION_H_