| 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 3519dab86a907a2a5ad940791fc8308e2c2fce20..efc4644c0b5af0b077763b43b20d16da7232f6bc 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl
|
| @@ -96,14 +96,14 @@ unsigned {{field.name}} : {{field.size}}; // {{field.type_name}}
|
| {% endfor %}
|
| {% endmacro %}
|
|
|
| -{% macro fieldwise_diff(group_to_diff) %}
|
| +{% macro fieldwise_diff(self, group_to_diff) %}
|
| {% for group in group_to_diff.subgroups %}
|
| if ({{group.group_name}}.Get() != other.{{group.group_name}}.Get()) {
|
| {{fieldwise_diff(group)|indent(2, true)}}
|
| }
|
| {% endfor %}
|
| {% for expression in group_to_diff.expressions %}
|
| -if ({{expression}} != other.{{expression}})
|
| +if ({{self}}.{{expression}} != other.{{expression}})
|
| return true;
|
| {% endfor %}
|
| {% endmacro %}
|
|
|