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

Unified Diff: third_party/WebKit/Source/bindings/templates/constants.cpp

Issue 1861433002: Make [OriginTrialEnabled] and [RuntimeEnabled] mutually exclusive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@586594-separate-tests
Patch Set: Correct IDL for Web Bluetooth Created 4 years, 8 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/templates/constants.cpp
diff --git a/third_party/WebKit/Source/bindings/templates/constants.cpp b/third_party/WebKit/Source/bindings/templates/constants.cpp
index 6a9cef4d38b374932fbfa23441678cf78376b779..bc4dac48a1203583f1af567f79a48a0ae094e746 100644
--- a/third_party/WebKit/Source/bindings/templates/constants.cpp
+++ b/third_party/WebKit/Source/bindings/templates/constants.cpp
@@ -10,7 +10,7 @@ static void {{constant.name}}ConstantGetterCallback(v8::Local<v8::Name>, const v
{% if constant.measure_as %}
UseCounter::countIfNotPrivateScript(info.GetIsolate(), currentExecutionContext(info.GetIsolate()), UseCounter::{{constant.measure_as('ConstantGetter')}});
{% endif %}
- {% if constant.is_origin_trial_enabled %}
+ {% if constant.origin_trial_enabled_function %}
{{check_origin_trial(constant) | indent}}
{% endif %}
{% if constant.idl_type in ('Double', 'Float') %}

Powered by Google App Engine
This is Rietveld 408576698