Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.cpp

Issue 2707133008: Revert of Make document.rootScroller into an origin trial (Closed)
Patch Set: Removed webexposed tests Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698