mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-30 02:57:29 +09:00
Grab caching capturing content with local variable.
This commit is contained in:
parent
e390f01ef5
commit
da2bb879f2
1 changed files with 5 additions and 5 deletions
|
|
@ -7296,11 +7296,11 @@ PresShell::HandleEvent(nsIFrame* aFrame,
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
nsIContent* capturingContent = ((aEvent->mClass == ePointerEventClass ||
|
nsCOMPtr<nsIContent> capturingContent = ((aEvent->mClass == ePointerEventClass ||
|
||||||
aEvent->mClass == eWheelEventClass ||
|
aEvent->mClass == eWheelEventClass ||
|
||||||
aEvent->HasMouseEventMessage())
|
aEvent->HasMouseEventMessage())
|
||||||
? GetCapturingContent()
|
? GetCapturingContent()
|
||||||
: nullptr);
|
: nullptr);
|
||||||
|
|
||||||
nsCOMPtr<nsIDocument> retargetEventDoc;
|
nsCOMPtr<nsIDocument> retargetEventDoc;
|
||||||
if (!aDontRetargetEvents) {
|
if (!aDontRetargetEvents) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue