Index: Source/core/workers/WorkerGlobalScope.cpp |
diff --git a/Source/core/workers/WorkerGlobalScope.cpp b/Source/core/workers/WorkerGlobalScope.cpp |
index 1699766d3f6631ec4627747717212073bf0bc3d1..fafb6edc0504314775cb9e83ff7a95ba31a6da6a 100644 |
--- a/Source/core/workers/WorkerGlobalScope.cpp |
+++ b/Source/core/workers/WorkerGlobalScope.cpp |
@@ -196,18 +196,9 @@ void WorkerGlobalScope::dispose() |
{ |
ASSERT(thread()->isCurrentThread()); |
- // Notify proxy that we are going away. This can free the WorkerThread object, so do not access it after this. |
- thread()->workerReportingProxy().workerGlobalScopeDestroyed(); |
- |
clearScript(); |
clearInspector(); |
setClient(0); |
- |
- // The thread reference isn't currently cleared, as the execution |
- // context's thread is accessed by GCed lifetime objects when |
- // they're finalized. |
haraken
2014/03/18 13:55:45
Shall we keep this comment? It's a non-trivial fac
Mads Ager (chromium)
2014/03/18 14:08:09
Added back a comment explaining that we cannot cle
|
- // FIXME: oilpan: avoid by explicitly removing the WorkerGlobalScope |
- // as an observable context right here. |
} |
void WorkerGlobalScope::importScripts(const Vector<String>& urls, ExceptionState& exceptionState) |