| Index: third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
|
| index 3929759df25e58c445070c7e2ccebb37abb477e4..264b3de7e38e095199316fecde2b734b753892f5 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
|
| @@ -30,8 +30,8 @@ void installConditionalFeaturesCore(const WrapperTypeInfo* wrapperTypeInfo,
|
| (originTrialContext &&
|
| originTrialContext->isTrialEnabled("ForeignFetch"))) {
|
| V8HTMLLinkElement::installLinkServiceWorker(
|
| - scriptState->isolate(), scriptState->world(), v8::Local<v8::Object>(),
|
| - prototypeObject, interfaceObject);
|
| + scriptState, v8::Local<v8::Object>(), prototypeObject,
|
| + interfaceObject);
|
| }
|
| }
|
| }
|
| @@ -58,4 +58,12 @@ void installConditionalFeatures(const WrapperTypeInfo* type,
|
| interfaceObject);
|
| }
|
|
|
| +void installPendingConditionalFeaturesOnWindow(const ScriptState* scriptState) {
|
| + DCHECK(scriptState);
|
| + DCHECK(scriptState->perContextData());
|
| + (*s_installConditionalFeaturesFunction)(&V8Window::wrapperTypeInfo,
|
| + scriptState, v8::Local<v8::Object>(),
|
| + v8::Local<v8::Function>());
|
| +}
|
| +
|
| } // namespace blink
|
|
|