Index: third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.cpp b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.cpp |
index 0f223d29a575075d9bf584695590bd0075fcca7d..1a408f9b375d501026c0dca45569cd0d8c9fba17 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.cpp |
@@ -44,11 +44,6 @@ void installConditionalFeaturesCore(const WrapperTypeInfo* wrapperTypeInfo, |
isolate, world, v8::Local<v8::Object>(), prototypeObject, |
interfaceObject); |
} |
- } else if (wrapperTypeInfo == &V8Document::wrapperTypeInfo) { |
- if (OriginTrials::setRootScrollerEnabled(executionContext)) { |
- V8Document::installRootScroller(isolate, world, v8::Local<v8::Object>(), |
- prototypeObject, interfaceObject); |
- } |
} |
} |
@@ -74,14 +69,6 @@ void installPendingConditionalFeatureCore(const String& feature, |
} |
return; |
} |
- if (feature == "RootScroller") { |
- if (contextData->getExistingConstructorAndPrototypeForType( |
- &V8Document::wrapperTypeInfo, &prototypeObject, &interfaceObject)) { |
- V8Document::installRootScroller(isolate, world, v8::Local<v8::Object>(), |
- prototypeObject, interfaceObject); |
- } |
- return; |
- } |
} |
void installConditionalFeaturesOnWindow(const ScriptState* scriptState) { |