diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-30 18:56:50 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-30 18:56:50 +0000 |
commit | 8cdea72a82aae5e07aa92e9886dbbe635eb8b7cc (patch) | |
tree | ff632b087b2770a117581696384bd0a429d86d55 /fpdfsdk/cpdfsdk_widget.h | |
parent | 95dd8dad6b1b2ac31aca84afe677205c7ed47f7f (diff) | |
download | pdfium-8cdea72a82aae5e07aa92e9886dbbe635eb8b7cc.tar.xz |
Cleanup duplicate RunScript code
This CL consolidates the duplicate RunScript code in
CPDFSDK_ActionHandler.
Change-Id: I08beb7644b6cbaa7906e5bb302372fd8a670f32a
Reviewed-on: https://pdfium-review.googlesource.com/24630
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_widget.h')
-rw-r--r-- | fpdfsdk/cpdfsdk_widget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/cpdfsdk_widget.h b/fpdfsdk/cpdfsdk_widget.h index 22d0e364c1..c3257325e7 100644 --- a/fpdfsdk/cpdfsdk_widget.h +++ b/fpdfsdk/cpdfsdk_widget.h @@ -42,7 +42,7 @@ class CPDFSDK_Widget : public CPDFSDK_BAAnnot { bool HasXFAAAction(PDFSDK_XFAAActionType eXFAAAT); bool OnXFAAAction(PDFSDK_XFAAActionType eXFAAAT, - PDFSDK_FieldAction& data, + PDFSDK_FieldAction* data, CPDFSDK_PageView* pPageView); void Synchronize(bool bSynchronizeElse); @@ -100,7 +100,7 @@ class CPDFSDK_Widget : public CPDFSDK_BAAnnot { WideString OnFormat(bool& bFormatted); bool OnAAction(CPDF_AAction::AActionType type, - PDFSDK_FieldAction& data, + PDFSDK_FieldAction* data, CPDFSDK_PageView* pPageView); CPDFSDK_InterForm* GetInterForm() const { return m_pInterForm.Get(); } |