Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1014)

Unified Diff: fpdfsdk/fsdk_mgr.cpp

Issue 2140423002: Rename methods in CPDF_Interform. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rename methods in CPDF_Interform. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fpdfdoc/include/fpdf_doc.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/fsdk_mgr.cpp
diff --git a/fpdfsdk/fsdk_mgr.cpp b/fpdfsdk/fsdk_mgr.cpp
index 32cc39622bb7fe6db3ca585ad12231c8a34eedb4..68143d2bdde1df3a7ee808ee4d3fed6f0af0d3a7 100644
--- a/fpdfsdk/fsdk_mgr.cpp
+++ b/fpdfsdk/fsdk_mgr.cpp
@@ -904,11 +904,11 @@ void CPDFSDK_PageView::LoadFXAnnots() {
#ifdef PDF_ENABLE_XFA
CPDFSDK_AnnotHandlerMgr* pAnnotHandlerMgr = pEnv->GetAnnotHandlerMgr();
#else
- FX_BOOL enableAPUpdate = CPDF_InterForm::UpdatingAPEnabled();
+ FX_BOOL bUpdateAP = CPDF_InterForm::IsUpdateAPEnabled();
// Disable the default AP construction.
- CPDF_InterForm::EnableUpdateAP(FALSE);
+ CPDF_InterForm::SetUpdateAP(FALSE);
m_pAnnotList.reset(new CPDF_AnnotList(m_page));
- CPDF_InterForm::EnableUpdateAP(enableAPUpdate);
+ CPDF_InterForm::SetUpdateAP(bUpdateAP);
const size_t nCount = m_pAnnotList->Count();
#endif // PDF_ENABLE_XFA
@@ -937,11 +937,11 @@ void CPDFSDK_PageView::LoadFXAnnots() {
} else {
CPDF_Page* pPage = m_page->GetPDFPage();
ASSERT(pPage);
- FX_BOOL enableAPUpdate = CPDF_InterForm::UpdatingAPEnabled();
+ FX_BOOL bUpdateAP = CPDF_InterForm::IsUpdateAPEnabled();
// Disable the default AP construction.
- CPDF_InterForm::EnableUpdateAP(FALSE);
+ CPDF_InterForm::SetUpdateAP(FALSE);
m_pAnnotList.reset(new CPDF_AnnotList(pPage));
- CPDF_InterForm::EnableUpdateAP(enableAPUpdate);
+ CPDF_InterForm::SetUpdateAP(bUpdateAP);
const size_t nCount = m_pAnnotList->Count();
for (size_t i = 0; i < nCount; ++i) {
« no previous file with comments | « core/fpdfdoc/include/fpdf_doc.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698