summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_formcontrol.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2017-01-10 10:19:04 -0800
committerCommit bot <commit-bot@chromium.org>2017-01-10 10:19:04 -0800
commitd18b8674378b104a9b5bb1f015e3f92fc174673e (patch)
tree6216931229e3b311e6c64008846a33e5135366b7 /core/fpdfdoc/cpdf_formcontrol.h
parent3128d1c45d8bc313abb8aae151f86bbe62c52e56 (diff)
downloadpdfium-d18b8674378b104a9b5bb1f015e3f92fc174673e.tar.xz
Remove some CFX_ArrayTemplate in fpdfapi and fpdfdoc
Also use unique_ptr in one spot while we're at it. Review-Url: https://codereview.chromium.org/2625483002
Diffstat (limited to 'core/fpdfdoc/cpdf_formcontrol.h')
-rw-r--r--core/fpdfdoc/cpdf_formcontrol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfdoc/cpdf_formcontrol.h b/core/fpdfdoc/cpdf_formcontrol.h
index d24dd04941..c0dad39098 100644
--- a/core/fpdfdoc/cpdf_formcontrol.h
+++ b/core/fpdfdoc/cpdf_formcontrol.h
@@ -46,6 +46,8 @@ class CPDF_FormControl {
public:
enum HighlightingMode { None = 0, Invert, Outline, Push, Toggle };
+ CPDF_FormControl(CPDF_FormField* pField, CPDF_Dictionary* pWidgetDict);
+
CPDF_FormField::Type GetType() const { return m_pField->GetType(); }
CPDF_InterForm* GetInterForm() const { return m_pForm; }
CPDF_FormField* GetField() const { return m_pField; }
@@ -111,8 +113,6 @@ class CPDF_FormControl {
friend class CPDF_InterForm;
friend class CPDF_FormField;
- CPDF_FormControl(CPDF_FormField* pField, CPDF_Dictionary* pWidgetDict);
-
CFX_ByteString GetOnStateName() const;
void SetOnStateName(const CFX_ByteString& csOn);
void CheckControl(bool bChecked);