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

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

Issue 2685183002: Flip flag for Long Tasks to stable (Closed)
Patch Set: undo change to webview test (likely not needed) 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..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)) {

Powered by Google App Engine
This is Rietveld 408576698