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

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

Issue 2786883002: Generate subgroup StyleSurroundData in ComputedStyle. (Closed)
Patch Set: Fix things 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/external.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/fields/external.tmpl b/third_party/WebKit/Source/build/scripts/templates/fields/external.tmpl
index b530be774738c6c88f23d94cc81d614c2b40797e..4dc5a878f8dc6da0d7b8ec61986b046223032a10 100644
--- a/third_party/WebKit/Source/build/scripts/templates/fields/external.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/fields/external.tmpl
@@ -1,8 +1,8 @@
{% import 'fields/base.tmpl' as base %}
-{% from 'fields/field.tmpl' import decode %}
+{% from 'fields/field.tmpl' import setter_expression %}
{% macro decl_methods(field) %}
{{base.decl_methods(field)}}
void {{field.setter_method_name}}({{field.type_name}}&& v) {
- {{field.name}} = std::move(v);
+ {{setter_expression(field)}} = std::move(v);
}
{% endmacro %}

Powered by Google App Engine
This is Rietveld 408576698