summaryrefslogtreecommitdiff
path: root/dom/base
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 07:34:35 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 07:34:35 -0400
commitf164962a3dc53f4823dfff6c77e7972c72d4c61f (patch)
treed318be62580b715d7fbf9ad100026746cc983e02 /dom/base
parentd925bfcc6930594abfba44125c0d94b34f9c23f6 (diff)
downloaduxp-f164962a3dc53f4823dfff6c77e7972c72d4c61f.tar.gz
Bug 1425441 - Move relatedTarget to WidgetEvent
Tag #1375
Diffstat (limited to 'dom/base')
-rw-r--r--dom/base/FragmentOrElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/FragmentOrElement.cpp b/dom/base/FragmentOrElement.cpp
index 5b2fabd8d2..676665c094 100644
--- a/dom/base/FragmentOrElement.cpp
+++ b/dom/base/FragmentOrElement.cpp
@@ -825,7 +825,7 @@ nsIContent::GetEventTargetParent(EventChainPreVisitor& aVisitor)
((this == aVisitor.mEvent->mOriginalTarget &&
!ChromeOnlyAccess()) || isAnonForEvents || GetShadowRoot())) {
nsCOMPtr<nsIContent> relatedTarget =
- do_QueryInterface(aVisitor.mEvent->AsMouseEvent()->relatedTarget);
+ do_QueryInterface(aVisitor.mEvent->AsMouseEvent()->mRelatedTarget);
if (relatedTarget &&
relatedTarget->OwnerDoc() == OwnerDoc()) {