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 bc4dac48a1203583f1af567f79a48a0ae094e746..c36323280631961aa70ab020af358242f56e4c2f 100644 |
--- a/third_party/WebKit/Source/bindings/templates/constants.cpp |
+++ b/third_party/WebKit/Source/bindings/templates/constants.cpp |
@@ -1,5 +1,3 @@ |
-{% from 'utilities.cpp' import check_origin_trial %} |
- |
{##############################################################################} |
{% macro constant_getter_callback(constant) %} |
static void {{constant.name}}ConstantGetterCallback(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) |
@@ -10,9 +8,6 @@ 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.origin_trial_enabled_function %} |
- {{check_origin_trial(constant) | indent}} |
- {% endif %} |
{% if constant.idl_type in ('Double', 'Float') %} |
v8SetReturnValue(info, {{constant.value}}); |
{% elif constant.idl_type == 'String' %} |