mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +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;
|
||||
}
|
||||
|
||||
nsIContent* capturingContent = ((aEvent->mClass == ePointerEventClass ||
|
||||
aEvent->mClass == eWheelEventClass ||
|
||||
aEvent->HasMouseEventMessage())
|
||||
? GetCapturingContent()
|
||||
: nullptr);
|
||||
nsCOMPtr<nsIContent> capturingContent = ((aEvent->mClass == ePointerEventClass ||
|
||||
aEvent->mClass == eWheelEventClass ||
|
||||
aEvent->HasMouseEventMessage())
|
||||
? GetCapturingContent()
|
||||
: nullptr);
|
||||
|
||||
nsCOMPtr<nsIDocument> retargetEventDoc;
|
||||
if (!aDontRetargetEvents) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue