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') %} |