Index: third_party/inspector_protocol/CodeGenerator.py |
diff --git a/third_party/inspector_protocol/CodeGenerator.py b/third_party/inspector_protocol/CodeGenerator.py |
index 18073ddc29532e9a5afc09e942d5d91122b32a95..8cc9030bdb127bf895c4271322d82a5d64cd9ab0 100644 |
--- a/third_party/inspector_protocol/CodeGenerator.py |
+++ b/third_party/inspector_protocol/CodeGenerator.py |
@@ -287,7 +287,7 @@ def wrap_array_definition(type): |
"raw_type": "protocol::Array<%s>" % type["raw_type"], |
"raw_pass_type": "protocol::Array<%s>*" % type["raw_type"], |
"raw_return_type": "protocol::Array<%s>*" % type["raw_type"], |
- "create_type": "wrapUnique(new protocol::Array<%s>())" % type["raw_type"], |
+ "create_type": "protocol::Array<%s>::create()" % type["raw_type"], |
kozy
2016/11/08 21:40:02
Please just remove this.
|
"out_type": "protocol::Array<%s>&" % type["raw_type"], |
} |