summaryrefslogtreecommitdiffstats
path: root/dom/workers/SharedWorker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/workers/SharedWorker.cpp')
-rw-r--r--dom/workers/SharedWorker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/workers/SharedWorker.cpp b/dom/workers/SharedWorker.cpp
index 750dc9237..71c644405 100644
--- a/dom/workers/SharedWorker.cpp
+++ b/dom/workers/SharedWorker.cpp
@@ -196,7 +196,7 @@ SharedWorker::GetEventTargetParent(EventChainPreVisitor& aVisitor)
QueueEvent(event);
aVisitor.mCanHandle = false;
- aVisitor.mParentTarget = nullptr;
+ aVisitor.SetParentTarget(nullptr, false);
return NS_OK;
}