diff options
author | dsinclair <dsinclair@chromium.org> | 2016-10-11 09:13:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-11 09:13:01 -0700 |
commit | 690c033e86b34f7a9c3d4be15759c63ef9360217 (patch) | |
tree | fdbde142926cd9f77882e0d5984770267561ad32 /fpdfsdk/cpdfsdk_document.cpp | |
parent | 232ce9365df0768846972be34a3a84f915bf7e82 (diff) | |
download | pdfium-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.cpp | 2 |
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(); } |