| Index: third_party/WebKit/Source/build/scripts/templates/fields/monotonic_flag.tmpl
|
| diff --git a/third_party/WebKit/Source/build/scripts/templates/fields/monotonic_flag.tmpl b/third_party/WebKit/Source/build/scripts/templates/fields/monotonic_flag.tmpl
|
| index 01f0bdc44c67216a944aa84122279ef7ba03673e..cf9a71549596ba006f628ae961a8ee77639e5ced 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/fields/monotonic_flag.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/fields/monotonic_flag.tmpl
|
| @@ -1,10 +1,10 @@
|
| {% import 'fields/base.tmpl' as base %}
|
| -{% from 'fields/field.tmpl' import encode, setter_expression %}
|
| +{% from 'fields/field.tmpl' import encode, set_if_changed %}
|
|
|
| {% macro decl_public_methods(field) %}
|
| {{base.decl_getter_method(field)}}
|
| void {{field.setter_method_name}}() {
|
| - {{setter_expression(field)}} = {{encode(field, "true")}};
|
| + {{set_if_changed(field, encode(field, "true"))|indent(2)}}
|
| }
|
| {% endmacro %}
|
|
|
|
|