Index: core/fpdfdoc/doc_annot.cpp |
diff --git a/core/fpdfdoc/doc_annot.cpp b/core/fpdfdoc/doc_annot.cpp |
index fe17e9c811906c81b4ab687ddb484222a8e484e6..1abee9256c922a4045fa861d9f65657033c33725 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::UpdateAPEnabled()) { |
FPDF_GenerateAP(m_pDocument, pDict); |
} |
} |