Index: third_party/WebKit/Source/build/scripts/templates/fields/group.tmpl |
diff --git a/third_party/WebKit/Source/build/scripts/templates/fields/group.tmpl b/third_party/WebKit/Source/build/scripts/templates/fields/group.tmpl |
index 956b9747f5a3f55a015812f9512799ba6ef8df46..92d246cd43dc3b7debef847eb4ea102bc0a2c489 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/fields/group.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/fields/group.tmpl |
@@ -32,7 +32,11 @@ class {{group.type_name}} : public RefCounted<{{group.type_name}}> { |
{{group.type_name}}(const {{group.type_name}}& other) : |
{% for field in group.fields %} |
+ {% if field.wrapper_pointer_name %} |
+ {{field.name}}(MemberCopy(other.{{field.name}})){{print_if(not loop.last, ',')}} |
+ {% else %} |
{{field.name}}(other.{{field.name}}){{print_if(not loop.last, ',')}} |
+ {% endif %} |
{% endfor %} |
{} |
}; |