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

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

Issue 1510603005: [Do not submit] Worklet implementation. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: A basic CompositorWorklet implementation. Created 5 years 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 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
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkerGlobalScope.h ('k') | third_party/WebKit/Source/core/workers/WorkerThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698