summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_notedriver.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/cfwl_notedriver.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/cfwl_notedriver.cpp')
-rw-r--r--xfa/fwl/core/cfwl_notedriver.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fwl/core/cfwl_notedriver.cpp b/xfa/fwl/core/cfwl_notedriver.cpp
index 7c53e54847..2041c619e7 100644
--- a/xfa/fwl/core/cfwl_notedriver.cpp
+++ b/xfa/fwl/core/cfwl_notedriver.cpp
@@ -46,8 +46,7 @@ void CFWL_NoteDriver::SendEvent(CFWL_Event* pNote) {
}
void CFWL_NoteDriver::RegisterEventTarget(IFWL_Widget* pListener,
- IFWL_Widget* pEventSource,
- uint32_t dwFilter) {
+ IFWL_Widget* pEventSource) {
uint32_t key = pListener->GetEventKey();
if (key == 0) {
do {
@@ -58,7 +57,7 @@ void CFWL_NoteDriver::RegisterEventTarget(IFWL_Widget* pListener,
if (!m_eventTargets[key])
m_eventTargets[key] = new CFWL_EventTarget(pListener);
- m_eventTargets[key]->SetEventSource(pEventSource, dwFilter);
+ m_eventTargets[key]->SetEventSource(pEventSource);
}
void CFWL_NoteDriver::UnregisterEventTarget(IFWL_Widget* pListener) {