summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/doc_annot.cpp
diff options
context:
space:
mode:
authorjaepark <jaepark@google.com>2016-07-12 19:50:51 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-12 19:50:51 -0700
commit38506d3334fe114fb386ea9b719d432ff1760e42 (patch)
treecec9fe77912e4be12af049f2dcefb95aefc56e00 /core/fpdfdoc/doc_annot.cpp
parentdf4044dc522c2049bfbab79faaa9e905c606888f (diff)
downloadpdfium-38506d3334fe114fb386ea9b719d432ff1760e42.tar.xz
Rename methods in CPDF_Interform.
EnableUpdateAP acutally sets s_bUpdateAP to the given parameter. So SetUpdateAP is accurate method name. Review-Url: https://codereview.chromium.org/2140423002
Diffstat (limited to 'core/fpdfdoc/doc_annot.cpp')
-rw-r--r--core/fpdfdoc/doc_annot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfdoc/doc_annot.cpp b/core/fpdfdoc/doc_annot.cpp
index fe17e9c811..c9e5d8ea9d 100644
--- a/core/fpdfdoc/doc_annot.cpp
+++ b/core/fpdfdoc/doc_annot.cpp
@@ -44,7 +44,7 @@ CPDF_AnnotList::CPDF_AnnotList(CPDF_Page* pPage)
m_AnnotList.push_back(
std::unique_ptr<CPDF_Annot>(new CPDF_Annot(pDict, this)));
if (bRegenerateAP && pDict->GetStringBy("Subtype") == "Widget" &&
- CPDF_InterForm::UpdatingAPEnabled()) {
+ CPDF_InterForm::IsUpdateAPEnabled()) {
FPDF_GenerateAP(m_pDocument, pDict);
}
}