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

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

Issue 2786883002: Generate subgroup StyleSurroundData in ComputedStyle. (Closed)
Patch Set: Rebase Created 3 years, 8 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/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 c78f9f775ce4a2cd8000bd11ca523f95bbec0a68..01f0bdc44c67216a944aa84122279ef7ba03673e 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 %}
+{% from 'fields/field.tmpl' import encode, setter_expression %}
{% macro decl_public_methods(field) %}
{{base.decl_getter_method(field)}}
void {{field.setter_method_name}}() {
- {{field.name}} = {{encode(field, "true")}};
+ {{setter_expression(field)}} = {{encode(field, "true")}};
}
{% endmacro %}
« no previous file with comments | « third_party/WebKit/Source/build/scripts/templates/fields/group.tmpl ('k') | third_party/WebKit/Source/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698