Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(432)

Unified Diff: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h

Issue 1992933002: Introduce WorkletGlobalScopeProxy interface. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698