diff options
author | dsinclair <dsinclair@chromium.org> | 2016-10-11 10:54:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-11 10:54:49 -0700 |
commit | 4526faf9d62b64729a232c20ada67690f590abd2 (patch) | |
tree | 76dfeaac09b49fcff44a57da0aa51ead16c515c2 /fpdfsdk/javascript/Document.cpp | |
parent | 3a7741a2d9391fdbc54900695a980344dddf1692 (diff) | |
download | pdfium-4526faf9d62b64729a232c20ada67690f590abd2.tar.xz |
Remove CPDFSDK_Document from IJS_Context
This CL converts the IJS_Context and implementations over to use
CPDFSDK_FormFillEnvironment instead of CPDFSDK_Document.
Review-Url: https://codereview.chromium.org/2399943002
Diffstat (limited to 'fpdfsdk/javascript/Document.cpp')
-rw-r--r-- | fpdfsdk/javascript/Document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/Document.cpp b/fpdfsdk/javascript/Document.cpp index bd9e540cf3..f8edf97247 100644 --- a/fpdfsdk/javascript/Document.cpp +++ b/fpdfsdk/javascript/Document.cpp @@ -408,7 +408,7 @@ FX_BOOL Document::mailForm(IJS_Context* cc, return FALSE; pRuntime->BeginBlock(); - CPDFSDK_FormFillEnvironment* pEnv = pContext->GetReaderEnv(); + CPDFSDK_FormFillEnvironment* pEnv = pContext->GetFormFillEnv(); pEnv->JS_docmailForm(textBuf.GetBuffer(), textBuf.GetLength(), bUI, cTo.c_str(), cSubject.c_str(), cCc.c_str(), cBcc.c_str(), cMsg.c_str()); |