Index: Source/bindings/scripts/v8_callback_interface.py |
diff --git a/Source/bindings/scripts/v8_callback_interface.py b/Source/bindings/scripts/v8_callback_interface.py |
index 864794e41da42d12fb308d3d74a7652630bd8174..03195046382a6dbde253dd0de9ea4f20ba1f0ca6 100644 |
--- a/Source/bindings/scripts/v8_callback_interface.py |
+++ b/Source/bindings/scripts/v8_callback_interface.py |
@@ -73,7 +73,7 @@ def cpp_type(idl_type): |
return 'void' |
# Callbacks use raw pointers, so used_as_argument=True |
usual_cpp_type = v8_types.cpp_type(idl_type, used_as_argument=True) |
- if usual_cpp_type.startswith('Vector'): |
+ if usual_cpp_type.startswith(('Vector', 'WillBeHeapVector')): |
return 'const %s&' % usual_cpp_type |
return usual_cpp_type |