diff options
author | dsinclair <dsinclair@chromium.org> | 2016-10-11 12:51:37 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-11 12:51:37 -0700 |
commit | 19c198b7b80633e6030457d276df99aee3ca8ca4 (patch) | |
tree | 440ed8b6076867a429a0841d005329f5ff3ece99 /fpdfsdk/cpdfsdk_interform.cpp | |
parent | 82e1767b757d96e6b81d3e42b24048a9bea387a8 (diff) | |
download | pdfium-19c198b7b80633e6030457d276df99aee3ca8ca4.tar.xz |
Convert CPDFSDK_ActionHandler to CPDFSDK_FormFillEnvironment
This CL replaces CPDFSDK_Document with CPDFSDK_FormFillEnvironment in
CPDFSDK_ActionHandler.
Review-Url: https://codereview.chromium.org/2397933003
Diffstat (limited to 'fpdfsdk/cpdfsdk_interform.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_interform.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fpdfsdk/cpdfsdk_interform.cpp b/fpdfsdk/cpdfsdk_interform.cpp index 69698ea421..005079dda9 100644 --- a/fpdfsdk/cpdfsdk_interform.cpp +++ b/fpdfsdk/cpdfsdk_interform.cpp @@ -363,8 +363,7 @@ FX_BOOL CPDFSDK_InterForm::OnKeyStrokeCommit(CPDF_FormField* pFormField, fa.bShift = m_pFormFillEnv->IsSHIFTKeyDown(0); fa.sValue = csValue; pActionHandler->DoAction_FieldJavaScript(action, CPDF_AAction::KeyStroke, - m_pFormFillEnv->GetSDKDocument(), - pFormField, fa); + m_pFormFillEnv, pFormField, fa); return fa.bRC; } @@ -384,8 +383,7 @@ FX_BOOL CPDFSDK_InterForm::OnValidate(CPDF_FormField* pFormField, fa.bShift = m_pFormFillEnv->IsSHIFTKeyDown(0); fa.sValue = csValue; pActionHandler->DoAction_FieldJavaScript(action, CPDF_AAction::Validate, - m_pFormFillEnv->GetSDKDocument(), - pFormField, fa); + m_pFormFillEnv, pFormField, fa); return fa.bRC; } |