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

Unified Diff: fpdfsdk/cpdfsdk_document.cpp

Issue 2391313002: Rename CPDFSDK_Environment to CPDFSDK_FormfillEnvironment (Closed)
Patch Set: Rebase to master Created 4 years, 2 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
Index: fpdfsdk/cpdfsdk_document.cpp
diff --git a/fpdfsdk/cpdfsdk_document.cpp b/fpdfsdk/cpdfsdk_document.cpp
index a0febafd484e38968077bc26454f19d494dd5a62..c597a1dab3b07709c170b76be6c6394c20086fc6 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),

Powered by Google App Engine
This is Rietveld 408576698