| 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 72bbfb861c5d16cac7225474d2e56acf2707673a..b9501d6dd842674d51aa2b6b71fbbbf25caae1fb 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
|
| @@ -38,26 +38,6 @@ void installConditionalFeaturesCore(const WrapperTypeInfo* wrapperTypeInfo,
|
| interfaceObject);
|
| }
|
| }
|
| -
|
| - // Install feature-policy-controlled features
|
| - LocalFrame* frame = nullptr;
|
| - if (executionContext->isDocument())
|
| - frame = toDocument(executionContext)->executingFrame();
|
| -
|
| - if (wrapperTypeInfo == &V8Document::wrapperTypeInfo) {
|
| - if (isFeatureEnabledInFrame(blink::kDocumentCookie, frame)) {
|
| - V8Document::installDocumentCookie(isolate, world, v8::Local<v8::Object>(),
|
| - prototypeObject, interfaceObject);
|
| - }
|
| - if (isFeatureEnabledInFrame(blink::kDocumentDomain, frame)) {
|
| - V8Document::installDocumentDomain(isolate, world, v8::Local<v8::Object>(),
|
| - prototypeObject, interfaceObject);
|
| - }
|
| - if (isFeatureEnabledInFrame(blink::kDocumentWrite, frame)) {
|
| - V8Document::installDocumentWrite(isolate, world, v8::Local<v8::Object>(),
|
| - prototypeObject, interfaceObject);
|
| - }
|
| - }
|
| }
|
|
|
| namespace {
|
|
|