summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_widget.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-21 17:57:21 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-21 17:57:21 -0800
commit4bd717ba4e40d4d3775c5e19334f4733fca8cb42 (patch)
tree473e54389cec12eebaade8189948e34705c52edc /xfa/fwl/core/ifwl_widget.cpp
parent12ff1eba3eaa4a27089f1837a0826dfcac163db2 (diff)
downloadpdfium-4bd717ba4e40d4d3775c5e19334f4733fca8cb42.tar.xz
Remove FwlEventMask
The only value being set from the enum was the All Mask. This was always set through the default value in the methods. This Cl removes the mask code completely and updates surrounding code as needed. Review-Url: https://codereview.chromium.org/2515243003
Diffstat (limited to 'xfa/fwl/core/ifwl_widget.cpp')
-rw-r--r--xfa/fwl/core/ifwl_widget.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fwl/core/ifwl_widget.cpp b/xfa/fwl/core/ifwl_widget.cpp
index ca574b2356..102ca2e0f0 100644
--- a/xfa/fwl/core/ifwl_widget.cpp
+++ b/xfa/fwl/core/ifwl_widget.cpp
@@ -584,8 +584,7 @@ bool IFWL_Widget::GetPopupPosGeneral(FX_FLOAT fMinHeight,
return true;
}
-void IFWL_Widget::RegisterEventTarget(IFWL_Widget* pEventSource,
- uint32_t dwFilter) {
+void IFWL_Widget::RegisterEventTarget(IFWL_Widget* pEventSource) {
const IFWL_App* pApp = GetOwnerApp();
if (!pApp)
return;
@@ -594,7 +593,7 @@ void IFWL_Widget::RegisterEventTarget(IFWL_Widget* pEventSource,
if (!pNoteDriver)
return;
- pNoteDriver->RegisterEventTarget(this, pEventSource, dwFilter);
+ pNoteDriver->RegisterEventTarget(this, pEventSource);
}
void IFWL_Widget::UnregisterEventTarget() {