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 =
|
||||
do_GetService(NS_OBSERVERSERVICE_CONTRACTID);
|
||||
|
||||
if (observerService) {
|
||||
nsPIDOMWindow *inner = GetCurrentInnerWindowInternal();
|
||||
observerService->NotifyObservers(mainWidget,
|
||||
observerService->NotifyObservers(static_cast<nsIDOMWindow*>(this),
|
||||
DOM_TOUCH_LISTENER_ADDED,
|
||||
nsnull);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user