| Index: mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl b/mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl
|
| index 6a67a3c2f39c1e2fe9341e60761ac848f056eb3d..617351098614b111dbcb3fede3aa756bca1aac3e 100644
|
| --- a/mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl
|
| @@ -9,9 +9,10 @@ import 'dart:async';
|
| {%- endif %}
|
| {%- if should_gen_mojom_types %}
|
| import 'dart:collection';
|
| +import 'dart:typed_data';
|
| {%- endif %}
|
|
|
| -{%- if module.structs or module.unions or module.interfaces or module.enums %}
|
| +{%- if module.structs or module.unions or module.interfaces or module.enums or should_gen_mojom_types%}
|
| import 'package:mojo/bindings.dart' as bindings;
|
| {%- endif %}
|
| {%- if module.interfaces or has_handles %}
|
|
|