diff options
author | tsepez <tsepez@chromium.org> | 2016-05-25 16:36:53 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-25 16:36:53 -0700 |
commit | cece6534e4e4ac10fdcfb47ac1d690e91bf63c19 (patch) | |
tree | 24d57b7fcab4fa493b4b22419e5d27662c2bac8d /core/fpdfdoc/doc_form.cpp | |
parent | 5ce09684216ed6b74836de9bd056b8f15bd66a4e (diff) | |
download | pdfium-cece6534e4e4ac10fdcfb47ac1d690e91bf63c19.tar.xz |
Remove CFX_PrivateData inheritance from CPDF_InterForm
It wasn't being used.
Also rename a static member from m_ to s_, just because.
Review-Url: https://codereview.chromium.org/2009393002
Diffstat (limited to 'core/fpdfdoc/doc_form.cpp')
-rw-r--r-- | core/fpdfdoc/doc_form.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/core/fpdfdoc/doc_form.cpp b/core/fpdfdoc/doc_form.cpp index 7357f0a2eb..1570a6800c 100644 --- a/core/fpdfdoc/doc_form.cpp +++ b/core/fpdfdoc/doc_form.cpp @@ -262,8 +262,7 @@ CFieldTree::_Node* CFieldTree::FindNode(const CFX_WideString& full_name) { } CPDF_InterForm::CPDF_InterForm(CPDF_Document* pDocument) - : CFX_PrivateData(), - m_pDocument(pDocument), + : m_pDocument(pDocument), m_pFormDict(nullptr), m_pFieldTree(new CFieldTree), m_pFormNotify(nullptr) { @@ -293,12 +292,12 @@ CPDF_InterForm::~CPDF_InterForm() { } } -FX_BOOL CPDF_InterForm::m_bUpdateAP = TRUE; +FX_BOOL CPDF_InterForm::s_bUpdateAP = TRUE; FX_BOOL CPDF_InterForm::UpdatingAPEnabled() { - return m_bUpdateAP; + return s_bUpdateAP; } void CPDF_InterForm::EnableUpdateAP(FX_BOOL bUpdateAP) { - m_bUpdateAP = bUpdateAP; + s_bUpdateAP = bUpdateAP; } CFX_ByteString CPDF_InterForm::GenerateNewResourceName( const CPDF_Dictionary* pResDict, |