Index: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h |
diff --git a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h |
index a523e35e00a206fc35ae338ae91504b1e1b7d818..b0b5163af6597d4908aef33fce7948e1e2a9b86f 100644 |
--- a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h |
+++ b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h |
@@ -35,12 +35,12 @@ |
namespace blink { |
-class WorkerThread; |
+class WorkerOrWorkletThread; |
class WorkerThreadDebugger final : public ThreadDebugger { |
WTF_MAKE_NONCOPYABLE(WorkerThreadDebugger); |
public: |
- explicit WorkerThreadDebugger(WorkerThread*, v8::Isolate*); |
+ explicit WorkerThreadDebugger(WorkerOrWorkletThread*, v8::Isolate*); |
~WorkerThreadDebugger() override; |
static WorkerThreadDebugger* from(v8::Isolate*); |
@@ -64,7 +64,7 @@ protected: |
void reportMessageToConsole(v8::Local<v8::Context>, ConsoleMessage*); |
private: |
- WorkerThread* m_workerThread; |
+ WorkerOrWorkletThread* m_workerThread; |
}; |
} // namespace blink |