summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_widget.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-30 19:24:00 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-30 19:24:00 +0000
commit1d82ba42da7afc4ee0e32b41da36c9f20fd3d070 (patch)
tree258f469b31b1449b47f4c64b793eafc4b697e1cc /fpdfsdk/cpdfsdk_widget.cpp
parentaa1c7873c39964d063c89c14815e3fc566bbd896 (diff)
downloadpdfium-1d82ba42da7afc4ee0e32b41da36c9f20fd3d070.tar.xz
Cleanup some param passing code
This CL cleans up some of the code around passing input information around. Change-Id: Id3c1ffa93c9e50c3b6312b15533ccc32c7406264 Reviewed-on: https://pdfium-review.googlesource.com/24710 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
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 d0eaa7adc8..1496beeb8e 100644
--- a/fpdfsdk/cpdfsdk_widget.cpp
+++ b/fpdfsdk/cpdfsdk_widget.cpp
@@ -240,7 +240,7 @@ bool CPDFSDK_Widget::OnXFAAAction(PDFSDK_XFAAActionType eXFAAAT,
CXFA_EventParam param;
param.m_eType = eEventType;
param.m_wsChange = data->sChange;
- param.m_iCommitKey = data->nCommitKey;
+ param.m_iCommitKey = 0;
param.m_bShift = data->bShift;
param.m_iSelStart = data->nSelStart;
param.m_iSelEnd = data->nSelEnd;
@@ -845,7 +845,7 @@ bool CPDFSDK_Widget::OnAAction(CPDF_AAction::AActionType type,
CXFA_EventParam param;
param.m_eType = eEventType;
param.m_wsChange = data->sChange;
- param.m_iCommitKey = data->nCommitKey;
+ param.m_iCommitKey = 0;
param.m_bShift = data->bShift;
param.m_iSelStart = data->nSelStart;
param.m_iSelEnd = data->nSelEnd;