diff options
author | Nicolas Pena <npm@chromium.org> | 2017-03-24 14:51:45 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-24 19:37:14 +0000 |
commit | 08b96e737d916c00f0045126d2207f4303951e55 (patch) | |
tree | edda7bed919d12660ff1f980469e90b34884c985 /core/fpdfdoc/cpdf_formfield.h | |
parent | 4a58d1427f8a1b105578f2d27391ceda238ca59c (diff) | |
download | pdfium-08b96e737d916c00f0045126d2207f4303951e55.tar.xz |
Use unique_ptr in CFieldTree::Node
Bug: chromium:704824
Change-Id: I3de1a0bcee3317cfaa7e56578b637e427098230a
Reviewed-on: https://pdfium-review.googlesource.com/3213
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_formfield.h')
-rw-r--r-- | core/fpdfdoc/cpdf_formfield.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fpdfdoc/cpdf_formfield.h b/core/fpdfdoc/cpdf_formfield.h index 35eaca4866..951d31c792 100644 --- a/core/fpdfdoc/cpdf_formfield.h +++ b/core/fpdfdoc/cpdf_formfield.h @@ -55,6 +55,9 @@ class CPDF_FormField { Sign }; + CPDF_FormField(CPDF_InterForm* pForm, CPDF_Dictionary* pDict); + ~CPDF_FormField(); + CFX_WideString GetFullName() const; Type GetType() const { return m_Type; } @@ -132,9 +135,6 @@ class CPDF_FormField { friend class CPDF_InterForm; friend class CPDF_FormControl; - CPDF_FormField(CPDF_InterForm* pForm, CPDF_Dictionary* pDict); - ~CPDF_FormField(); - CFX_WideString GetValue(bool bDefault) const; bool SetValue(const CFX_WideString& value, bool bDefault, bool bNotify); |