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_interform.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_interform.h')
-rw-r--r-- | core/fpdfdoc/cpdf_interform.h | 2 |
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, |