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

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

Issue 2398793003: [Origin Trials] Clarify the distinction between trials and features (Closed)
Patch Set: Rebase; -DurableStorage, +WebVR Created 4 years, 2 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/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 5c5129494a055940147dd705af9f8a9371d6e960..a4aaca80244ab05379cdf26da06921af474a3d2d 100644
--- a/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
+++ b/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
@@ -94,8 +94,7 @@ void installConditionalFeaturesForTests(
executionContext, OriginTrialContext::DontCreateIfNotExists);
if (type == &V8OriginTrialsTest::wrapperTypeInfo) {
- if (originTrialContext &&
- originTrialContext->isFeatureEnabled("Frobulate")) {
+ if (originTrialContext && originTrialContext->isTrialEnabled("Frobulate")) {
V8OriginTrialsTest::installOriginTrialsSampleAPI(
scriptState->isolate(), scriptState->world(), v8::Local<v8::Object>(),
prototypeObject, interfaceObject);

Powered by Google App Engine
This is Rietveld 408576698