From 4bd717ba4e40d4d3775c5e19334f4733fca8cb42 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Mon, 21 Nov 2016 17:57:21 -0800 Subject: 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 --- xfa/fwl/core/cfwl_notedriver.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'xfa/fwl/core/cfwl_notedriver.cpp') 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) { -- cgit v1.2.3