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

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

Issue 2628923002: Make document.rootScroller into an origin trial (Closed)
Patch Set: Rebase Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 95e4dc3b13cf4621bb414ec65e615d81ae441c4d..6b28b52df4953a008dc110c22f6ab41c6b32a6e6 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
@@ -45,6 +45,13 @@ void installConditionalFeaturesCore(const WrapperTypeInfo* wrapperTypeInfo,
V8Window::installLongTaskObserver(isolate, world, instanceObject,
prototypeObject, interfaceObject);
}
+ } else if (wrapperTypeInfo == &V8Document::wrapperTypeInfo) {
+ if (RuntimeEnabledFeatures::setRootScrollerEnabled() ||
+ (originTrialContext &&
+ originTrialContext->isTrialEnabled("RootScroller"))) {
+ V8Document::installRootScroller(isolate, world, v8::Local<v8::Object>(),
+ prototypeObject, interfaceObject);
+ }
}
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698