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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp

Issue 2456733002: DevTools: Make WorkerThreadDebugger available for Worklets (Closed)
Patch Set: address review comments 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/WorkerGlobalScope.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
index 434830537e031b585896468fd6b285bd1dcabff8..dfa97feac7f92d19183ef7ea19ff1b26e7f975b1 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
@@ -139,7 +139,7 @@ void WorkerGlobalScope::exceptionUnhandled(int exceptionId) {
DCHECK(event);
if (WorkerThreadDebugger* debugger =
WorkerThreadDebugger::from(thread()->isolate()))
- debugger->exceptionThrown(event);
+ debugger->exceptionThrown(m_thread, event);
}
void WorkerGlobalScope::registerEventListener(

Powered by Google App Engine
This is Rietveld 408576698