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 d5776efe28175ffc7047b5f08ffbfa35a2271953..f2f502d86691e60a4e4808bf8faa9fc84f36aa48 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
@@ -118,6 +118,11 @@ ExecutionContext* WorkerGlobalScope::executionContext() const |
return const_cast<WorkerGlobalScope*>(this); |
} |
+v8::Isolate* WorkerGlobalScope::isolate() const |
+{ |
+ return thread()->isolate(); |
+} |
+ |
const KURL& WorkerGlobalScope::virtualURL() const |
{ |
return m_url; |
@@ -424,9 +429,8 @@ DEFINE_TRACE(WorkerGlobalScope) |
visitor->trace(m_eventListeners); |
HeapSupplementable<WorkerGlobalScope>::trace(visitor); |
#endif |
- ExecutionContext::trace(visitor); |
+ AbstractGlobalScope::trace(visitor); |
EventTargetWithInlineData::trace(visitor); |
- SecurityContext::trace(visitor); |
} |
} // namespace blink |