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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThread.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/workers/WorkerThread.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.h b/third_party/WebKit/Source/core/workers/WorkerThread.h
index 243672c5780447f1047ae8e72a7c4e2377afc7ba..bbd47ae68ee551bb842c78c0e912805c0fd74706 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
@@ -122,6 +122,7 @@
ConsoleMessageStorage* consoleMessageStorage() const {
return m_consoleMessageStorage.get();
}
+ virtual bool shouldAttachThreadDebugger() const { return true; }
v8::Isolate* isolate();
bool isCurrentThread();
@@ -157,8 +158,6 @@
// Number of active worker threads.
static unsigned workerThreadCount();
-
- int getWorkerThreadId() const { return m_workerThreadId; }
PlatformThreadId platformThreadId();
@@ -254,9 +253,6 @@
ExitCode getExitCodeForTesting();
- // A unique identifier among all WorkerThreads.
- const int m_workerThreadId;
-
// Accessed only on the main thread.
bool m_requestedToStart = false;
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp ('k') | third_party/WebKit/Source/core/workers/WorkerThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698