mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1644381. Remove listener in nsSliderFrame. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D78882
This commit is contained in:
parent
019a9e6e18
commit
ec7f81e276
@ -1170,6 +1170,8 @@ void nsSliderFrame::RemoveListener() {
|
||||
|
||||
thumbFrame->GetContent()->RemoveSystemEventListener(
|
||||
NS_LITERAL_STRING("mousedown"), mMediator, false);
|
||||
thumbFrame->GetContent()->RemoveSystemEventListener(
|
||||
NS_LITERAL_STRING("touchstart"), mMediator, false);
|
||||
}
|
||||
|
||||
bool nsSliderFrame::ShouldScrollForEvent(WidgetGUIEvent* aEvent) {
|
||||
|
Loading…
Reference in New Issue
Block a user