Index: Source/bindings/templates/methods.cpp |
diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp |
index f9c7d8272f91dc10fa0415a5187d0182075b82ee..af7ecd38b3d5695a7d48a44446b7accdc22b2379 100644 |
--- a/Source/bindings/templates/methods.cpp |
+++ b/Source/bindings/templates/methods.cpp |
@@ -148,7 +148,7 @@ if (!std::isnan({{argument.name}}NativeValue)) |
if (exceptionState.throwIfNeeded()) |
return; |
{% elif argument.is_variadic_wrapper_type %} |
-Vector<{{argument.cpp_type}} > {{argument.name}}; |
+{{argument.vector_type}}<{{argument.cpp_type}} > {{argument.name}}; |
for (int i = {{argument.index}}; i < info.Length(); ++i) { |
if (!V8{{argument.idl_type}}::hasInstance(info[i], info.GetIsolate())) { |
{{throw_type_error(method, '"parameter %s is not of type \'%s\'."' % |