summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_document.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-10-11 09:13:01 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-11 09:13:01 -0700
commit690c033e86b34f7a9c3d4be15759c63ef9360217 (patch)
treefdbde142926cd9f77882e0d5984770267561ad32 /fpdfsdk/cpdfsdk_document.cpp
parent232ce9365df0768846972be34a3a84f915bf7e82 (diff)
downloadpdfium-690c033e86b34f7a9c3d4be15759c63ef9360217.tar.xz
Convert CPDFSDK_InterForm to take a CPDFSDK_FormFillEnvironment
This CL removes CPDFSDK_Document from CPDFSDK_InterForm and has it work with a CPDFSDK_FormFillEnvironment. Review-Url: https://codereview.chromium.org/2397723005
Diffstat (limited to 'fpdfsdk/cpdfsdk_document.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_document.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_document.cpp b/fpdfsdk/cpdfsdk_document.cpp
index 677dd835f8..78bcf49185 100644
--- a/fpdfsdk/cpdfsdk_document.cpp
+++ b/fpdfsdk/cpdfsdk_document.cpp
@@ -162,7 +162,7 @@ UnderlyingPageType* CPDFSDK_Document::GetPage(int nIndex) {
CPDFSDK_InterForm* CPDFSDK_Document::GetInterForm() {
if (!m_pInterForm)
- m_pInterForm = pdfium::MakeUnique<CPDFSDK_InterForm>(this);
+ m_pInterForm = pdfium::MakeUnique<CPDFSDK_InterForm>(GetEnv());
return m_pInterForm.get();
}