| Index: Source/bindings/v8/V8Binding.h
|
| diff --git a/Source/bindings/v8/V8Binding.h b/Source/bindings/v8/V8Binding.h
|
| index 15be404d68d83b0a127b1138d0e53f00b61a269d..6365ca088a7ff560c2dd8750569f85d446ec36b1 100644
|
| --- a/Source/bindings/v8/V8Binding.h
|
| +++ b/Source/bindings/v8/V8Binding.h
|
| @@ -268,6 +268,14 @@ struct V8ValueTraits<WTF::Vector<T, inlineCapacity, Allocator> > {
|
| }
|
| };
|
|
|
| +template <typename T, size_t inlineCapacity>
|
| +struct V8ValueTraits<HeapVector<T, inlineCapacity> > {
|
| + static v8::Handle<v8::Value> toV8Value(const HeapVector<T, inlineCapacity>& value, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| + {
|
| + return v8ArrayNoInline(value, creationContext, isolate);
|
| + }
|
| +};
|
| +
|
| template<>
|
| struct V8ValueTraits<String> {
|
| static inline v8::Handle<v8::Value> toV8Value(const String& value, v8::Handle<v8::Object>, v8::Isolate* isolate)
|
|
|