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

Unified Diff: third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp

Issue 2458183002: Eagerly install Origin Trial features on window (Closed)
Patch Set: Use correct context and enter it before installing attributes on window Created 4 years, 1 month 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/core/testing/v8/WebCoreTestSupport.cpp
diff --git a/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp b/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
index 1638d3625ff9a5c64ef009cdddb30bae22a642f5..efc65df6fe679afa0b89f32fafd251054ce44f10 100644
--- a/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
+++ b/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
@@ -97,8 +97,8 @@ void installConditionalFeaturesForTests(
if (type == &V8OriginTrialsTest::wrapperTypeInfo) {
if (originTrialContext && originTrialContext->isTrialEnabled("Frobulate")) {
V8OriginTrialsTest::installOriginTrialsSampleAPI(
- scriptState->isolate(), scriptState->world(), v8::Local<v8::Object>(),
- prototypeObject, interfaceObject);
+ scriptState, v8::Local<v8::Object>(), prototypeObject,
+ interfaceObject);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698