Bug 722627 - Send window with touch event listener notification. r=smaug

This commit is contained in:
Wes Johnston 2012-01-31 09:48:54 -08:00
parent 440851ce36
commit 651bf81f36

View File

@ -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);
}