Index: core/fpdfdoc/doc_annot.cpp |
diff --git a/core/fpdfdoc/doc_annot.cpp b/core/fpdfdoc/doc_annot.cpp |
index fe17e9c811906c81b4ab687ddb484222a8e484e6..c9e5d8ea9d5b504181d6401b7ff6ae6c6e269587 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); |
} |
} |