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

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

Issue 2123323004: Simplify OriginTrialContext and the way it validates tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 1421e186c04a8b70f51eeb376de4360b680f7b5e..7fddbfb67796c0e442dc46b9f7fd121bc45daa4d 100644
--- a/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
+++ b/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
@@ -103,7 +103,7 @@ void installOriginTrialsForTests(ScriptState* scriptState)
v8::Local<v8::Value> v8Internals = global->Get(context, internalsName).ToLocalChecked();
if (v8Internals->IsObject()) {
v8::Local<v8::Object> internals = v8Internals->ToObject();
- if (!originTrialContext->featureBindingsInstalled("Frobulate") && originTrialContext->isFeatureEnabled("Frobulate", nullptr)) {
+ if (!originTrialContext->featureBindingsInstalled("Frobulate") && originTrialContext->isFeatureEnabled("Frobulate")) {
if (executionContext->isDocument())
V8Internals::installOriginTrialsSampleAPI(scriptState, internals);
else if (executionContext->isWorkerGlobalScope())

Powered by Google App Engine
This is Rietveld 408576698