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

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

Issue 2481843003: Worker: Add WorkerOrWorkletGlobalScope::thread() interface (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/SharedWorkerGlobalScope.cpp
diff --git a/third_party/WebKit/Source/core/workers/SharedWorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/SharedWorkerGlobalScope.cpp
index a952e8cbf70486221d266d913750378d94dff7e8..b93e34efbeaa5a186ec13ed76ba7b522cf2d7427 100644
--- a/third_party/WebKit/Source/core/workers/SharedWorkerGlobalScope.cpp
+++ b/third_party/WebKit/Source/core/workers/SharedWorkerGlobalScope.cpp
@@ -93,10 +93,6 @@ const AtomicString& SharedWorkerGlobalScope::interfaceName() const {
return EventTargetNames::SharedWorkerGlobalScope;
}
-SharedWorkerThread* SharedWorkerGlobalScope::thread() {
- return static_cast<SharedWorkerThread*>(Base::thread());
-}
-
void SharedWorkerGlobalScope::exceptionThrown(ErrorEvent* event) {
WorkerGlobalScope::exceptionThrown(event);
if (WorkerThreadDebugger* debugger =

Powered by Google App Engine
This is Rietveld 408576698