Index: third_party/WebKit/Source/bindings/core/v8/V8Binding.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h |
index 1df7fae7726c68025efbae99fb7607a1ef7a794a..94d12de7d78e35030298e75b674d2dd513e22f27 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h |
@@ -761,12 +761,12 @@ HeapVector<Member<T>> toMemberNativeArray(v8::Local<v8::Value> value, |
// Converts a JavaScript value to an array as per the Web IDL specification: |
// http://www.w3.org/TR/2012/CR-WebIDL-20120419/#es-array |
-template <typename VectorType> |
+template <typename VectorType, |
+ typename ValueType = typename VectorType::ValueType> |
VectorType toImplArray(v8::Local<v8::Value> value, |
int argumentIndex, |
v8::Isolate* isolate, |
ExceptionState& exceptionState) { |
- typedef typename VectorType::ValueType ValueType; |
typedef NativeValueTraits<ValueType> TraitsType; |
uint32_t length = 0; |