summaryrefslogtreecommitdiffstats
path: root/dom/workers/WorkerNavigator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/workers/WorkerNavigator.cpp')
-rw-r--r--dom/workers/WorkerNavigator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/workers/WorkerNavigator.cpp b/dom/workers/WorkerNavigator.cpp
index 682c7a22c..f79896881 100644
--- a/dom/workers/WorkerNavigator.cpp
+++ b/dom/workers/WorkerNavigator.cpp
@@ -152,7 +152,7 @@ WorkerNavigator::GetUserAgent(nsString& aUserAgent, ErrorResult& aRv) const
RefPtr<GetUserAgentRunnable> runnable =
new GetUserAgentRunnable(workerPrivate, aUserAgent);
- runnable->Dispatch(aRv);
+ runnable->Dispatch(Terminating, aRv);
}
uint64_t