From 35d4587eceb07cad6b38675b0ebb4b73eca3a62b Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 12 Oct 2018 19:07:03 +0000 Subject: Remove more unnecessary includes and do IWYU as needed. Also move some implementations out of headers. Change-Id: I321fc26970c440d874b135bd28e8bc8156b9afee Reviewed-on: https://pdfium-review.googlesource.com/c/43890 Commit-Queue: Lei Zhang Reviewed-by: Tom Sepez --- core/fpdfdoc/cpdf_formfield.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'core/fpdfdoc/cpdf_formfield.h') diff --git a/core/fpdfdoc/cpdf_formfield.h b/core/fpdfdoc/cpdf_formfield.h index a718cec29c..ce12169a71 100644 --- a/core/fpdfdoc/cpdf_formfield.h +++ b/core/fpdfdoc/cpdf_formfield.h @@ -15,7 +15,6 @@ #include "core/fxcrt/fx_string.h" #include "core/fxcrt/fx_system.h" #include "core/fxcrt/unowned_ptr.h" -#include "third_party/base/stl_util.h" class CPDF_Dictionary; class CPDF_Font; @@ -110,9 +109,7 @@ class CPDF_FormField { bool ResetField(NotificationOption notify); - int CountControls() const { - return pdfium::CollectionSize(m_ControlList); - } + int CountControls() const; CPDF_FormControl* GetControl(int index) const { return m_ControlList[index].Get(); -- cgit v1.2.3