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 c3375d97efc34cbcf23402f4b8ae0f9e9d4a7fa7..488f1d3d6514447fac76a36b334ea4d078a47647 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/fields/external.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/fields/external.tmpl |
@@ -1,11 +1,12 @@ |
{% import 'fields/base.tmpl' as base %} |
+{% from 'fields/field.tmpl' import setter_expression %} |
{% macro decl_public_methods(field) %} |
{{base.decl_initial_method(field)}} |
{{base.decl_getter_method(field)}} |
{{base.decl_setter_method(field)}} |
void {{field.setter_method_name}}({{field.type_name}}&& v) { |
- {{field.name}} = std::move(v); |
+ {{setter_expression(field)}} = std::move(v); |
} |
{{base.decl_resetter_method(field)}} |
{% endmacro %} |