Index: mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl |
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl |
index 4c5ed38c998076b0d6aed51c9624c9ed16defa57..e03f00cd8cc1c329b2b2366844c70e1f4783f1b0 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl |
@@ -50,8 +50,8 @@ class {{export_attribute}} {{struct.name}} { |
size_t Hash(size_t seed) const; |
{%- endif %} |
-{%- set serialization_result_type = "mojo::WTFArray<uint8_t>" |
- if for_blink else "mojo::Array<uint8_t>" %} |
+{%- set serialization_result_type = "WTF::Vector<uint8_t>" |
+ if for_blink else "std::vector<uint8_t>" %} |
template <typename UserType> |
static {{serialization_result_type}} Serialize(UserType* input) { |