mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Additional fix for Bug 536092
This commit is contained in:
parent
21f45224d7
commit
f2f7c2cdc0
@ -474,7 +474,7 @@ nsEventDispatcher::Dispatch(nsISupports* aTarget,
|
|||||||
// Set the target to be the original dispatch target,
|
// Set the target to be the original dispatch target,
|
||||||
aEvent->target = target;
|
aEvent->target = target;
|
||||||
// but use chrome event handler for event target chain.
|
// but use chrome event handler for event target chain.
|
||||||
aTarget = win->GetChromeEventHandler();
|
target = do_QueryInterface(win->GetChromeEventHandler());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -525,8 +525,6 @@ public:
|
|||||||
// Additional type info for user defined events
|
// Additional type info for user defined events
|
||||||
nsCOMPtr<nsIAtom> userType;
|
nsCOMPtr<nsIAtom> userType;
|
||||||
// Event targets, needed by DOM Events
|
// Event targets, needed by DOM Events
|
||||||
// Using nsISupports, not nsIDOMEventTarget because in some cases
|
|
||||||
// nsIDOMEventTarget is implemented as a tearoff.
|
|
||||||
nsCOMPtr<nsPIDOMEventTarget> target;
|
nsCOMPtr<nsPIDOMEventTarget> target;
|
||||||
nsCOMPtr<nsPIDOMEventTarget> currentTarget;
|
nsCOMPtr<nsPIDOMEventTarget> currentTarget;
|
||||||
nsCOMPtr<nsPIDOMEventTarget> originalTarget;
|
nsCOMPtr<nsPIDOMEventTarget> originalTarget;
|
||||||
|
Loading…
Reference in New Issue
Block a user