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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/workers/SharedWorker.cpp b/dom/workers/SharedWorker.cpp
index 99bb50339..750dc9237 100644
--- a/dom/workers/SharedWorker.cpp
+++ b/dom/workers/SharedWorker.cpp
@@ -181,7 +181,7 @@ SharedWorker::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
}
nsresult
-SharedWorker::PreHandleEvent(EventChainPreVisitor& aVisitor)
+SharedWorker::GetEventTargetParent(EventChainPreVisitor& aVisitor)
{
AssertIsOnMainThread();
@@ -200,5 +200,5 @@ SharedWorker::PreHandleEvent(EventChainPreVisitor& aVisitor)
return NS_OK;
}
- return DOMEventTargetHelper::PreHandleEvent(aVisitor);
+ return DOMEventTargetHelper::GetEventTargetParent(aVisitor);
}