Index: third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h |
diff --git a/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h b/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h |
index e46d80484167e9267384a215e1b8b481a92707ce..a033f4de9590e9567c385983ee38f1e8f9762b07 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h |
+++ b/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h |
@@ -93,6 +93,7 @@ public: |
~WorkerThreadForTest() override { } |
WorkerBackingThread& workerBackingThread() override { return *m_workerBackingThread; } |
+ void clearWorkerBackingThread() override { m_workerBackingThread = nullptr; } |
WorkerOrWorkletGlobalScope* createWorkerGlobalScope(std::unique_ptr<WorkerThreadStartupData>) override; |