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

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

Issue 2731763002: Revert "Make document.rootScroller into an origin trial" (Closed)
Patch Set: 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/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..66082fade878d5047da65de004ea3c1f087f34cc 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
@@ -39,11 +39,6 @@ void installConditionalFeaturesCore(const WrapperTypeInfo* wrapperTypeInfo,
V8Window::installLongTaskObserver(isolate, world, instanceObject,
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,
v8::Local<v8::Function>());
return;
}
- if (feature == "RootScroller") {
- if (contextData->getExistingConstructorAndPrototypeForType(
- &V8Document::wrapperTypeInfo, &prototypeObject, &interfaceObject)) {
- V8Document::installRootScroller(isolate, world, v8::Local<v8::Object>(),
- prototypeObject, interfaceObject);
- }
- return;
- }
}
namespace {

Powered by Google App Engine
This is Rietveld 408576698