summaryrefslogtreecommitdiff
path: root/dom/xul
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 07:30:43 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 07:30:43 -0400
commit1d1a1fb975c8a816f4fbdfaba5eab220c2a4ce57 (patch)
treeebea23264b1fa0f9c23935b253c23bdc0b41c25d /dom/xul
parentaa54ff63fd9ea1823e00b1f057175e0b8764c03d (diff)
downloaduxp-1d1a1fb975c8a816f4fbdfaba5eab220c2a4ce57.tar.gz
Bug 1412775 - Implement Event.composedPath
Tag mcp-graveyard/UXP#1375
Diffstat (limited to 'dom/xul')
-rw-r--r--dom/xul/nsXULElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/xul/nsXULElement.cpp b/dom/xul/nsXULElement.cpp
index af050d9f81..2ae03e0b17 100644
--- a/dom/xul/nsXULElement.cpp
+++ b/dom/xul/nsXULElement.cpp
@@ -1303,7 +1303,7 @@ nsXULElement::GetEventTargetParent(EventChainPreVisitor& aVisitor)
if (IsEventStoppedFromAnonymousScrollbar(aVisitor.mEvent->mMessage)) {
// Don't propagate these events from native anonymous scrollbar.
aVisitor.mCanHandle = true;
- aVisitor.mParentTarget = nullptr;
+ aVisitor.SetParentTarget(nullptr, false);
return NS_OK;
}
if (aVisitor.mEvent->mMessage == eXULCommand &&