Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl

Issue 2876803003: Generate diffs for fields in ComputedStyle that use their public getters (Closed)
Patch Set: alancutter@'s suggestions Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..7328a56309285e8692a82865eefb19bc1da94104 100644
--- a/third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl
@@ -103,7 +103,7 @@ if ({{group.group_name}}.Get() != other.{{group.group_name}}.Get()) {
}
{% endfor %}
{% for expression in group_to_diff.expressions %}
-if ({{expression}} != other.{{expression}})
+if (self.{{expression}} != other.{{expression}})
return true;
{% endfor %}
{% endmacro %}

Powered by Google App Engine
This is Rietveld 408576698