summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_formfield.cpp
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-04-19 17:38:54 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-04-20 00:35:01 +0000
commit03f0fb0e650f134f31991b62e39c4d9a9d577560 (patch)
tree83235fd1bfba082f92f4648bbe16e8f120c1f574 /core/fpdfdoc/cpdf_formfield.cpp
parent7a68198438f41e19f21e06e0f3447e525d0b253b (diff)
downloadpdfium-03f0fb0e650f134f31991b62e39c4d9a9d577560.tar.xz
Remove the friends of CPDF_FormField
Added some public methods so that CPDF_FormField has no friends. Change-Id: I179537e3c6ea64cedaca5365010c34c1ad702c40 Reviewed-on: https://pdfium-review.googlesource.com/4370 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_formfield.cpp')
-rw-r--r--core/fpdfdoc/cpdf_formfield.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfdoc/cpdf_formfield.cpp b/core/fpdfdoc/cpdf_formfield.cpp
index e7ca7c6a8d..9007d8b0da 100644
--- a/core/fpdfdoc/cpdf_formfield.cpp
+++ b/core/fpdfdoc/cpdf_formfield.cpp
@@ -47,7 +47,7 @@ bool IsUnison(CPDF_FormField* pField) {
} // namespace
-CPDF_Object* FPDF_GetFieldAttr(CPDF_Dictionary* pFieldDict,
+CPDF_Object* FPDF_GetFieldAttr(const CPDF_Dictionary* pFieldDict,
const char* name,
int nLevel) {
if (nLevel > kMaxRecursion)