diff options
author | dsinclair <dsinclair@chromium.org> | 2016-10-05 15:47:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-05 15:47:02 -0700 |
commit | 735606d84b6898a51c61b17a2d286a13d964589a (patch) | |
tree | 1feb64d2aae6d79c1f7d65f5dd05d7e934b428cc /fpdfsdk/cpdfsdk_document.cpp | |
parent | 2116105b7d0545eb353264d4b42420cf51af5195 (diff) | |
download | pdfium-735606d84b6898a51c61b17a2d286a13d964589a.tar.xz |
Rename CPDFSDK_Environment to CPDFSDK_FormfillEnvironment
Rename CPDFSDK_Environment to make it explicit that this is part of the formfill
system.
Review-Url: https://codereview.chromium.org/2391313002
Diffstat (limited to 'fpdfsdk/cpdfsdk_document.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_document.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fpdfsdk/cpdfsdk_document.cpp b/fpdfsdk/cpdfsdk_document.cpp index a0febafd48..c597a1dab3 100644 --- a/fpdfsdk/cpdfsdk_document.cpp +++ b/fpdfsdk/cpdfsdk_document.cpp @@ -15,7 +15,7 @@ #include "core/fpdfdoc/cpdf_occontext.h" #include "fpdfsdk/cpdfsdk_annot.h" #include "fpdfsdk/cpdfsdk_annothandlermgr.h" -#include "fpdfsdk/cpdfsdk_environment.h" +#include "fpdfsdk/cpdfsdk_formfillenvironment.h" #include "fpdfsdk/cpdfsdk_interform.h" #include "fpdfsdk/cpdfsdk_pageview.h" #include "fpdfsdk/cpdfsdk_widget.h" @@ -25,12 +25,13 @@ // static CPDFSDK_Document* CPDFSDK_Document::FromFPDFFormHandle( FPDF_FORMHANDLE hHandle) { - CPDFSDK_Environment* pEnv = static_cast<CPDFSDK_Environment*>(hHandle); + CPDFSDK_FormFillEnvironment* pEnv = + static_cast<CPDFSDK_FormFillEnvironment*>(hHandle); return pEnv ? pEnv->GetSDKDocument() : nullptr; } CPDFSDK_Document::CPDFSDK_Document(UnderlyingDocumentType* pDoc, - CPDFSDK_Environment* pEnv) + CPDFSDK_FormFillEnvironment* pEnv) : m_pDoc(pDoc), m_pEnv(pEnv), m_bChangeMask(FALSE), |