summaryrefslogtreecommitdiff
path: root/dom/performance/PerformanceWorker.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/performance/PerformanceWorker.h')
-rw-r--r--dom/performance/PerformanceWorker.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/performance/PerformanceWorker.h b/dom/performance/PerformanceWorker.h
index 3604e6874f..cdd3a521dd 100644
--- a/dom/performance/PerformanceWorker.h
+++ b/dom/performance/PerformanceWorker.h
@@ -62,6 +62,11 @@ public:
return nullptr;
}
+ void QueueNavigationTimingEntry() override
+ {
+ MOZ_CRASH("This should not be called on workers.");
+ }
+
protected:
~PerformanceWorker();