diff options
Diffstat (limited to 'dom/performance/PerformanceStorageWorker.cpp')
-rw-r--r-- | dom/performance/PerformanceStorageWorker.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dom/performance/PerformanceStorageWorker.cpp b/dom/performance/PerformanceStorageWorker.cpp index 4fb4815121..3649a6270b 100644 --- a/dom/performance/PerformanceStorageWorker.cpp +++ b/dom/performance/PerformanceStorageWorker.cpp @@ -39,8 +39,7 @@ class PerformanceEntryAdder final : public WorkerControlRunnable { PerformanceEntryAdder(WorkerPrivate* aWorkerPrivate, PerformanceStorageWorker* aStorage, UniquePtr<PerformanceProxyData>&& aData) - : WorkerControlRunnable(aWorkerPrivate, "PerformanceEntryAdder", - WorkerThread), + : WorkerControlRunnable("PerformanceEntryAdder"), mStorage(aStorage), mData(std::move(aData)) {} @@ -119,7 +118,7 @@ void PerformanceStorageWorker::AddEntry(nsIHttpChannel* aChannel, RefPtr<PerformanceEntryAdder> r = new PerformanceEntryAdder(workerPrivate, this, std::move(data)); - Unused << NS_WARN_IF(!r->Dispatch()); + Unused << NS_WARN_IF(!r->Dispatch(workerPrivate)); } void PerformanceStorageWorker::AddEntry( |