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 8f3a147dbdcbab0d1e2c8b615833f4d794ccbebd..2c2762a973f596f93d1302ac527f1701319bed3e 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp |
@@ -33,12 +33,6 @@ void installConditionalFeaturesCore(const WrapperTypeInfo* wrapperTypeInfo, |
isolate, world, v8::Local<v8::Object>(), prototypeObject, |
interfaceObject); |
} |
- } else if (wrapperTypeInfo == &V8Window::wrapperTypeInfo) { |
- v8::Local<v8::Object> instanceObject = scriptState->context()->Global(); |
- if (OriginTrials::longTaskObserverEnabled(executionContext)) { |
- V8Window::installLongTaskObserver(isolate, world, instanceObject, |
- prototypeObject, interfaceObject); |
- } |
} else if (wrapperTypeInfo == &V8Document::wrapperTypeInfo) { |
if (OriginTrials::setRootScrollerEnabled(executionContext)) { |
V8Document::installRootScroller(isolate, world, v8::Local<v8::Object>(), |
@@ -67,13 +61,6 @@ void installPendingConditionalFeatureCore(const String& feature, |
} |
return; |
} |
- if (feature == "LongTaskObserver") { |
- v8::Local<v8::Object> instanceObject = scriptState->context()->Global(); |
- V8Window::installLongTaskObserver(isolate, world, instanceObject, |
- v8::Local<v8::Object>(), |
- v8::Local<v8::Function>()); |
- return; |
- } |
if (feature == "RootScroller") { |
if (contextData->getExistingConstructorAndPrototypeForType( |
&V8Document::wrapperTypeInfo, &prototypeObject, &interfaceObject)) { |