mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 722627 - Send window with touch event listener notification. r=smaug
This commit is contained in:
parent
440851ce36
commit
651bf81f36
@ -7680,9 +7680,9 @@ void nsGlobalWindow::UpdateTouchState()
|
|||||||
|
|
||||||
nsCOMPtr<nsIObserverService> observerService =
|
nsCOMPtr<nsIObserverService> observerService =
|
||||||
do_GetService(NS_OBSERVERSERVICE_CONTRACTID);
|
do_GetService(NS_OBSERVERSERVICE_CONTRACTID);
|
||||||
|
|
||||||
if (observerService) {
|
if (observerService) {
|
||||||
nsPIDOMWindow *inner = GetCurrentInnerWindowInternal();
|
observerService->NotifyObservers(static_cast<nsIDOMWindow*>(this),
|
||||||
observerService->NotifyObservers(mainWidget,
|
|
||||||
DOM_TOUCH_LISTENER_ADDED,
|
DOM_TOUCH_LISTENER_ADDED,
|
||||||
nsnull);
|
nsnull);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user