| Index: third_party/WebKit/Source/bindings/templates/constants.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/bindings/templates/constants.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/constants.cpp.tmpl
|
| index 3921a26adb2da55302d4cd6bd1501c2286cd8bf9..8a791b60b19e59c3984635e173ffb69bd1be2264 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/constants.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/constants.cpp.tmpl
|
| @@ -30,8 +30,8 @@ const V8DOMConfiguration::ConstantConfiguration {{v8_class}}Constants[] = {
|
| V8DOMConfiguration::installConstants(isolate, interfaceTemplate, prototypeTemplate, {{v8_class}}Constants, WTF_ARRAY_LENGTH({{v8_class}}Constants));
|
| {% endif %}
|
| {# Runtime-enabled constants #}
|
| -{% for group in constants | runtime_enabled_constants | groupby('runtime_feature_name') %}
|
| -{% filter runtime_enabled(group.list[0].runtime_enabled_function) %}
|
| +{% for group in constants | runtime_enabled_constants | groupby('runtime_enabled') %}
|
| +{% filter runtime_enabled(group.list[0].runtime_enabled) %}
|
| {% for constant in group.list %}
|
| {% set constant_name = constant.name.title().replace('_', '') %}
|
| const V8DOMConfiguration::ConstantConfiguration constant{{constant_name}}Configuration = {{constant_configuration(constant)}};
|
|
|