mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 742376 - DisableDevice is being called with types that are not known device sensors - follow up. Logic got reversed. r=smaug
This commit is contained in:
parent
eccd031e3f
commit
4084c1eccd
@ -404,7 +404,7 @@ nsEventListenerManager::RemoveEventListener(nsIDOMEventListener *aListener,
|
||||
mNoListenerForEvent = NS_EVENT_TYPE_NULL;
|
||||
mNoListenerForEventAtom = nsnull;
|
||||
|
||||
if (deviceType) {
|
||||
if (!deviceType) {
|
||||
return;
|
||||
}
|
||||
--typeCount;
|
||||
|
Loading…
Reference in New Issue
Block a user