diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 07:34:35 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 07:34:35 -0400 |
commit | f164962a3dc53f4823dfff6c77e7972c72d4c61f (patch) | |
tree | d318be62580b715d7fbf9ad100026746cc983e02 /dom/base | |
parent | d925bfcc6930594abfba44125c0d94b34f9c23f6 (diff) | |
download | uxp-f164962a3dc53f4823dfff6c77e7972c72d4c61f.tar.gz |
Bug 1425441 - Move relatedTarget to WidgetEvent
Tag #1375
Diffstat (limited to 'dom/base')
-rw-r--r-- | dom/base/FragmentOrElement.cpp | 2 |
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()) { |