diff options
author | thestig <thestig@chromium.org> | 2016-09-28 14:14:26 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-28 14:14:26 -0700 |
commit | 7c292e0f67e0f0bf4062e0b2adf244e17d7dacb5 (patch) | |
tree | deb84d05a8eb6d4f194f608ebbb004842b57623b /fpdfsdk/cpdfsdk_pageview.cpp | |
parent | 8c41b1bf9fb7dd525f3a6b81d38f61d83500894d (diff) | |
download | pdfium-7c292e0f67e0f0bf4062e0b2adf244e17d7dacb5.tar.xz |
Remove dead code from CPDF_InterForm.
Remove default arguments.
Review-Url: https://codereview.chromium.org/2380753003
Diffstat (limited to 'fpdfsdk/cpdfsdk_pageview.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_pageview.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fpdfsdk/cpdfsdk_pageview.cpp b/fpdfsdk/cpdfsdk_pageview.cpp index 900ea48670..f546e385e6 100644 --- a/fpdfsdk/cpdfsdk_pageview.cpp +++ b/fpdfsdk/cpdfsdk_pageview.cpp @@ -6,6 +6,9 @@ #include "fpdfsdk/include/cpdfsdk_pageview.h" +#include <memory> +#include <vector> + #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" #include "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h" #include "core/fpdfdoc/include/cpdf_annotlist.h" @@ -488,9 +491,9 @@ void CPDFSDK_PageView::LoadFXAnnots() { CPDF_Page* pPage = GetPDFPage(); ASSERT(pPage); - FX_BOOL bUpdateAP = CPDF_InterForm::IsUpdateAPEnabled(); + bool bUpdateAP = CPDF_InterForm::IsUpdateAPEnabled(); // Disable the default AP construction. - CPDF_InterForm::SetUpdateAP(FALSE); + CPDF_InterForm::SetUpdateAP(false); m_pAnnotList.reset(new CPDF_AnnotList(pPage)); CPDF_InterForm::SetUpdateAP(bUpdateAP); |