summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_widget.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-10-11 12:51:37 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-11 12:51:37 -0700
commit19c198b7b80633e6030457d276df99aee3ca8ca4 (patch)
tree440ed8b6076867a429a0841d005329f5ff3ece99 /fpdfsdk/cpdfsdk_widget.cpp
parent82e1767b757d96e6b81d3e42b24048a9bea387a8 (diff)
downloadpdfium-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_widget.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_widget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/cpdfsdk_widget.cpp b/fpdfsdk/cpdfsdk_widget.cpp
index 12f915802d..4ce7d9a48a 100644
--- a/fpdfsdk/cpdfsdk_widget.cpp
+++ b/fpdfsdk/cpdfsdk_widget.cpp
@@ -1875,8 +1875,8 @@ FX_BOOL CPDFSDK_Widget::OnAAction(CPDF_AAction::AActionType type,
CPDF_Action action = GetAAction(type);
if (action.GetDict() && action.GetType() != CPDF_Action::Unknown) {
CPDFSDK_ActionHandler* pActionHandler = pFormFillEnv->GetActionHander();
- return pActionHandler->DoAction_Field(
- action, type, pFormFillEnv->GetSDKDocument(), GetFormField(), data);
+ return pActionHandler->DoAction_Field(action, type, pFormFillEnv,
+ GetFormField(), data);
}
return FALSE;
}