summaryrefslogtreecommitdiffstats
path: root/dom/serviceworkers/ServiceWorkerOp.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/serviceworkers/ServiceWorkerOp.h')
-rw-r--r--dom/serviceworkers/ServiceWorkerOp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dom/serviceworkers/ServiceWorkerOp.h b/dom/serviceworkers/ServiceWorkerOp.h
index d485f6f210..3d872a00e5 100644
--- a/dom/serviceworkers/ServiceWorkerOp.h
+++ b/dom/serviceworkers/ServiceWorkerOp.h
@@ -62,7 +62,8 @@ class ServiceWorkerOp : public RemoteWorkerChild::Op {
bool IsTerminationOp() const;
// Override to provide a runnable that's not a `ServiceWorkerOpRunnable.`
- virtual RefPtr<WorkerRunnable> GetRunnable(WorkerPrivate* aWorkerPrivate);
+ virtual RefPtr<WorkerThreadRunnable> GetRunnable(
+ WorkerPrivate* aWorkerPrivate);
// Overridden by ServiceWorkerOp subclasses, it should return true when
// the ServiceWorkerOp was executed successfully (and false if it did fail).