summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_interform.h
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-03-24 14:51:45 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-03-24 19:37:14 +0000
commit08b96e737d916c00f0045126d2207f4303951e55 (patch)
treeedda7bed919d12660ff1f980469e90b34884c985 /core/fpdfdoc/cpdf_interform.h
parent4a58d1427f8a1b105578f2d27391ceda238ca59c (diff)
downloadpdfium-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_interform.h')
-rw-r--r--core/fpdfdoc/cpdf_interform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfdoc/cpdf_interform.h b/core/fpdfdoc/cpdf_interform.h
index fdf08ac79e..6c464f023d 100644
--- a/core/fpdfdoc/cpdf_interform.h
+++ b/core/fpdfdoc/cpdf_interform.h
@@ -94,7 +94,7 @@ class CPDF_InterForm {
friend class CPDF_FormField;
void LoadField(CPDF_Dictionary* pFieldDict, int nLevel);
- CPDF_FormField* AddTerminalField(CPDF_Dictionary* pFieldDict);
+ void AddTerminalField(CPDF_Dictionary* pFieldDict);
CPDF_FormControl* AddControl(CPDF_FormField* pField,
CPDF_Dictionary* pWidgetDict);
void FDF_ImportField(CPDF_Dictionary* pField,