| Index: third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp b/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| index 6be13054f7f8cc13a688690e94bb146a0cccc30f..994fc9e22ceb2bbe78a479bd86123cc6961b11d5 100644
|
| --- a/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| +++ b/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| @@ -34,7 +34,6 @@
|
| #include "bindings/core/v8/V8DOMStringList.h"
|
| #include "bindings/core/v8/V8File.h"
|
| #include "bindings/core/v8/V8Uint8Array.h"
|
| -#include "bindings/core/v8/WorkerOrWorkletScriptController.h"
|
| #include "bindings/modules/v8/ToV8ForModules.h"
|
| #include "bindings/modules/v8/V8DedicatedWorkerGlobalScopePartial.h"
|
| #include "bindings/modules/v8/V8IDBCursor.h"
|
| @@ -47,7 +46,6 @@
|
| #include "bindings/modules/v8/V8ServiceWorkerGlobalScope.h"
|
| #include "bindings/modules/v8/V8SharedWorkerGlobalScopePartial.h"
|
| #include "bindings/modules/v8/V8WindowPartial.h"
|
| -#include "bindings/modules/v8/V8WorkletGlobalScope.h"
|
| #include "core/dom/DOMArrayBuffer.h"
|
| #include "core/dom/DOMArrayBufferView.h"
|
| #include "core/dom/ExecutionContext.h"
|
| @@ -57,7 +55,6 @@
|
| #include "modules/indexeddb/IDBKeyRange.h"
|
| #include "modules/indexeddb/IDBTracing.h"
|
| #include "modules/indexeddb/IDBValue.h"
|
| -#include "modules/worklet/WorkletGlobalScope.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/SharedBuffer.h"
|
| #include "wtf/MathExtras.h"
|
| @@ -526,18 +523,6 @@ void assertPrimaryKeyValidOrInjectable(ScriptState* scriptState, const IDBValue*
|
| }
|
| #endif
|
|
|
| -ExecutionContext* toExecutionContextForModules(v8::Local<v8::Context> context)
|
| -{
|
| - if (context.IsEmpty())
|
| - return nullptr;
|
| - v8::Local<v8::Object> global = context->Global();
|
| - v8::Local<v8::Object> workletWrapper = V8WorkletGlobalScope::findInstanceInPrototypeChain(global, context->GetIsolate());
|
| - if (!workletWrapper.IsEmpty())
|
| - return V8WorkletGlobalScope::toImpl(workletWrapper);
|
| - // FIXME: Is this line of code reachable?
|
| - return nullptr;
|
| -}
|
| -
|
| namespace {
|
| InstallOriginTrialsFunction s_originalInstallOriginTrialsFunction = nullptr;
|
| }
|
|
|