diff options
author | jaepark <jaepark@google.com> | 2016-07-12 19:50:51 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-12 19:50:51 -0700 |
commit | 38506d3334fe114fb386ea9b719d432ff1760e42 (patch) | |
tree | cec9fe77912e4be12af049f2dcefb95aefc56e00 /core/fpdfdoc/doc_form.cpp | |
parent | df4044dc522c2049bfbab79faaa9e905c606888f (diff) | |
download | pdfium-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_form.cpp')
-rw-r--r-- | core/fpdfdoc/doc_form.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/fpdfdoc/doc_form.cpp b/core/fpdfdoc/doc_form.cpp index 82fcd4ceeb..bad051ffb9 100644 --- a/core/fpdfdoc/doc_form.cpp +++ b/core/fpdfdoc/doc_form.cpp @@ -294,12 +294,15 @@ CPDF_InterForm::~CPDF_InterForm() { } FX_BOOL CPDF_InterForm::s_bUpdateAP = TRUE; -FX_BOOL CPDF_InterForm::UpdatingAPEnabled() { + +FX_BOOL CPDF_InterForm::IsUpdateAPEnabled() { return s_bUpdateAP; } -void CPDF_InterForm::EnableUpdateAP(FX_BOOL bUpdateAP) { + +void CPDF_InterForm::SetUpdateAP(FX_BOOL bUpdateAP) { s_bUpdateAP = bUpdateAP; } + CFX_ByteString CPDF_InterForm::GenerateNewResourceName( const CPDF_Dictionary* pResDict, const FX_CHAR* csType, |