| Index: third_party/WebKit/Source/core/workers/WorkletGlobalScope.h
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkletGlobalScope.h b/third_party/WebKit/Source/core/workers/WorkletGlobalScope.h
|
| index 5fcde1b815877984115b1383b633eaf0cf3a291a..c0947f6fa6280154f76a1871a4266755d58074af 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkletGlobalScope.h
|
| +++ b/third_party/WebKit/Source/core/workers/WorkletGlobalScope.h
|
| @@ -17,7 +17,6 @@
|
| namespace blink {
|
|
|
| class EventQueue;
|
| -class WorkerOrWorkletScriptController;
|
|
|
| class CORE_EXPORT WorkletGlobalScope
|
| : public GarbageCollectedFinalized<WorkletGlobalScope>,
|
| @@ -29,7 +28,6 @@ class CORE_EXPORT WorkletGlobalScope
|
|
|
| public:
|
| ~WorkletGlobalScope() override;
|
| - void Dispose() override;
|
|
|
| bool IsWorkletGlobalScope() const final { return true; }
|
|
|
| @@ -37,9 +35,6 @@ class CORE_EXPORT WorkletGlobalScope
|
| ScriptWrappable* GetScriptWrappable() const final {
|
| return const_cast<WorkletGlobalScope*>(this);
|
| }
|
| - WorkerOrWorkletScriptController* ScriptController() final {
|
| - return script_controller_.Get();
|
| - }
|
|
|
| // Always returns false here as worklets don't have a #close() method on
|
| // the global.
|
| @@ -54,8 +49,6 @@ class CORE_EXPORT WorkletGlobalScope
|
| v8::Local<v8::Object> wrapper) final;
|
|
|
| // ExecutionContext
|
| - void DisableEval(const String& error_message) final;
|
| - bool IsJSExecutionForbidden() const final;
|
| String UserAgent() const final { return user_agent_; }
|
| SecurityContext& GetSecurityContext() final { return *this; }
|
| EventQueue* GetEventQueue() const final {
|
| @@ -91,7 +84,6 @@ class CORE_EXPORT WorkletGlobalScope
|
|
|
| KURL url_;
|
| String user_agent_;
|
| - Member<WorkerOrWorkletScriptController> script_controller_;
|
| };
|
|
|
| DEFINE_TYPE_CASTS(WorkletGlobalScope,
|
|
|