summaryrefslogtreecommitdiffstats
path: root/dom/workers/WorkerRef.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/workers/WorkerRef.h')
-rw-r--r--dom/workers/WorkerRef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/workers/WorkerRef.h b/dom/workers/WorkerRef.h
index e41ef07bfd..f1dc4deb1b 100644
--- a/dom/workers/WorkerRef.h
+++ b/dom/workers/WorkerRef.h
@@ -174,6 +174,8 @@ class WeakWorkerRef final : public WorkerRef {
WorkerPrivate* GetUnsafePrivate() const;
private:
+ friend class ThreadSafeWeakWorkerRef;
+
explicit WeakWorkerRef(WorkerPrivate* aWorkerPrivate);
~WeakWorkerRef();