Index: fpdfsdk/cpdfsdk_widget.cpp |
diff --git a/fpdfsdk/cpdfsdk_widget.cpp b/fpdfsdk/cpdfsdk_widget.cpp |
index 12f915802d9d11baba5d4f6ce4ebc64af8973760..4ce7d9a48a91f2bb784ecab0c7ef132e5cd33df3 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; |
} |