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

Side by Side Diff: third_party/WebKit/Source/build/scripts/templates/fields/external.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 unified diff | Download patch
OLDNEW
1 {% from 'fields/field.tmpl' import encode, set_expr %}
1 {% import 'fields/base.tmpl' as base %} 2 {% import 'fields/base.tmpl' as base %}
2 {% from 'fields/field.tmpl' import decode %}
3 {% macro decl_methods(field) %} 3 {% macro decl_methods(field) %}
4 {{base.decl_methods(field)}} 4 {{base.decl_methods(field)}}
5 void {{field.setter_method_name}}({{field.type_name}}&& v) { 5 void {{field.setter_method_name}}({{field.type_name}}&& v) {
6 {{field.name}} = std::move({{decode(field, "v")}}); 6 {{set_expr(field)}} = std::move(v);
7 } 7 }
8 {% endmacro %} 8 {% endmacro %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698