Index: mojo/public/tools/bindings/pylib/mojom/generate/generator.py |
diff --git a/mojo/public/tools/bindings/pylib/mojom/generate/generator.py b/mojo/public/tools/bindings/pylib/mojom/generate/generator.py |
index a97d2eac3a5679039dabe914f875915535cffe0b..ccb8363bdec91a9b8359687ff34f393ec5129ee3 100644 |
--- a/mojo/public/tools/bindings/pylib/mojom/generate/generator.py |
+++ b/mojo/public/tools/bindings/pylib/mojom/generate/generator.py |
@@ -37,13 +37,15 @@ class Generator(object): |
# Pass |output_dir| to emit files to disk. Omit |output_dir| to echo all |
# files to stdout. |
def __init__(self, module, output_dir=None, typemap=None, variant=None, |
- bytecode_path=None, for_blink=False): |
+ bytecode_path=None, for_blink=False, |
+ use_new_wrapper_types=False): |
self.module = module |
self.output_dir = output_dir |
self.typemap = typemap or {} |
self.variant = variant |
self.bytecode_path = bytecode_path |
self.for_blink = for_blink |
+ self.use_new_wrapper_types = use_new_wrapper_types |
def GetStructsFromMethods(self): |
result = [] |