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

Unified Diff: fpdfsdk/cpdfsdk_document.cpp

Issue 2397723005: Convert CPDFSDK_InterForm to take a CPDFSDK_FormFillEnvironment (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | fpdfsdk/cpdfsdk_interform.h » ('j') | fpdfsdk/cpdfsdk_interform.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/cpdfsdk_document.cpp
diff --git a/fpdfsdk/cpdfsdk_document.cpp b/fpdfsdk/cpdfsdk_document.cpp
index 677dd835f811020dfdc13001de478ee036326d0d..5966f0e51b0ab0cc0efcb882f1f9f55cd0d39360 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>(this->GetEnv());
return m_pInterForm.get();
Tom Sepez 2016/10/06 18:42:06 nit: this-> is redundant, just GetEnv()
dsinclair 2016/10/06 19:21:23 Done.
}
« no previous file with comments | « no previous file | fpdfsdk/cpdfsdk_interform.h » ('j') | fpdfsdk/cpdfsdk_interform.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698