| Index: third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl
|
| diff --git a/third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl b/third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl
|
| index 8790c220a74458dfa70c7a5238d35b8e99f6a1ab..685a0ee0568f6175fe732425d75a64ed1ca9931d 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl
|
| @@ -18,6 +18,14 @@ static_cast<{{field.type_name}}>({{value}})
|
| {% if field.is_bit_field -%}
|
| {{field.type_name}}
|
| {%- else -%}
|
| -const {{field.type_name}}&
|
| +{{field.type_name}}&
|
| {%- endif %}
|
| {% endmacro %}
|
| +
|
| +{% macro argument_type(field) %}
|
| +{% if field.is_bit_field -%}
|
| +{{field.type_name}}
|
| +{%- else -%}
|
| +const {{field.type_name}}&
|
| +{%- endif %}
|
| +{% endmacro %}
|
|
|