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

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

Issue 2485633004: Revert of DevTools: Make WorkerThreadDebugger available for Worklets (Closed)
Patch Set: Created 4 years, 1 month 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 3c0d42a2146efd0ab2f9750772aec7ae508cf745..88dd9ba5c71d941bbcda7d5ddfdbb1941ba10fc6 100644
--- a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h
+++ b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h
@@ -45,16 +45,16 @@
WTF_MAKE_NONCOPYABLE(WorkerThreadDebugger);
public:
- explicit WorkerThreadDebugger(v8::Isolate*);
+ explicit WorkerThreadDebugger(WorkerThread*, v8::Isolate*);
~WorkerThreadDebugger() override;
static WorkerThreadDebugger* from(v8::Isolate*);
bool isWorker() override { return true; }
- int contextGroupId(WorkerThread*);
- void contextCreated(WorkerThread*, v8::Local<v8::Context>);
- void contextWillBeDestroyed(WorkerThread*, v8::Local<v8::Context>);
- void exceptionThrown(WorkerThread*, ErrorEvent*);
+ int contextGroupId();
+ void contextCreated(v8::Local<v8::Context>);
+ void contextWillBeDestroyed(v8::Local<v8::Context>);
+ void exceptionThrown(ErrorEvent*);
private:
int contextGroupId(ExecutionContext*) override;
@@ -85,8 +85,7 @@
unsigned columnNumber,
v8_inspector::V8StackTrace*) override;
- int m_pausedContextGroupId;
- WTF::HashMap<int, WorkerThread*> m_workerThreads;
+ WorkerThread* m_workerThread;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698