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

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

Issue 1535943005: Initial implementation of bindings and basic classes for worklets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 12 months 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.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
index b03f823e8bed6e7c21d67cf3203047be404dfb8f..5f5d46ad19f9dee11ca7c1d1cd452f2f17a08bd4 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
@@ -27,8 +27,8 @@
#ifndef WorkerGlobalScope_h
#define WorkerGlobalScope_h
+#include "bindings/core/v8/IsolatedScriptController.h"
#include "bindings/core/v8/V8CacheOptions.h"
-#include "bindings/core/v8/WorkerScriptController.h"
#include "core/CoreExport.h"
#include "core/dom/ExecutionContext.h"
#include "core/events/EventListener.h"
@@ -83,7 +83,7 @@ public:
String userAgent() const final;
void disableEval(const String& errorMessage) final;
- WorkerScriptController* script() { return m_script.get(); }
+ IsolatedScriptController* script() { return m_script.get(); }
virtual void didEvaluateWorkerScript();
void dispose();
@@ -186,7 +186,7 @@ private:
mutable UseCounter::CountBits m_deprecationWarningBits;
- OwnPtrWillBeMember<WorkerScriptController> m_script;
+ OwnPtrWillBeMember<IsolatedScriptController> m_script;
WorkerThread* m_thread;
RefPtrWillBeMember<WorkerInspectorController> m_workerInspectorController;

Powered by Google App Engine
This is Rietveld 408576698