Index: third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl |
diff --git a/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl b/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl |
index 25b39b30d0e5622390e3010e77dd2168224d8a57..ebcba7bb64249e796ba411a3208aae42956ed146 100644 |
--- a/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl |
+++ b/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl |
@@ -1,7 +1,7 @@ |
class {{struct.name}} { |
public: |
- typedef internal::{{struct.name}}_Data Data_; |
+ using Data_ = internal::{{struct.name}}_Data; |
{#--- Constants #} |
{%- for constant in struct.constants %} |