| 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 685a0ee0568f6175fe732425d75a64ed1ca9931d..d5e4a2b15078409d7a7d6c6840b0147b959283b5 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl
|
| @@ -14,7 +14,7 @@ static_cast<{{field.type_name}}>({{value}})
|
| {%- endif %}
|
| {% endmacro %}
|
|
|
| -{% macro return_type(field) %}
|
| +{% macro nonconst_ref(field) %}
|
| {% if field.is_bit_field -%}
|
| {{field.type_name}}
|
| {%- else -%}
|
| @@ -22,10 +22,10 @@ static_cast<{{field.type_name}}>({{value}})
|
| {%- endif %}
|
| {% endmacro %}
|
|
|
| -{% macro argument_type(field) %}
|
| +{% macro const_ref(field) %}
|
| {% if field.is_bit_field -%}
|
| {{field.type_name}}
|
| {%- else -%}
|
| const {{field.type_name}}&
|
| {%- endif %}
|
| -{% endmacro %}
|
| +{% endmacro %}
|
|
|