| Index: Source/bindings/modules/v8/V8BindingForModules.cpp
|
| diff --git a/Source/bindings/modules/v8/V8BindingForModules.cpp b/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| index a7740e496db1325c67fd45b0d5699eda8500167d..3c5d6adee37ca0bbe4e34ac251f7b20fcf225534 100644
|
| --- a/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| +++ b/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| @@ -69,10 +69,7 @@ v8::Local<v8::Value> toV8(const IDBKeyPath& value, v8::Local<v8::Object> creatio
|
| case IDBKeyPath::StringType:
|
| return v8String(isolate, value.string());
|
| case IDBKeyPath::ArrayType:
|
| - RefPtrWillBeRawPtr<DOMStringList> keyPaths = DOMStringList::create();
|
| - for (Vector<String>::const_iterator it = value.array().begin(); it != value.array().end(); ++it)
|
| - keyPaths->append(*it);
|
| - return toV8(keyPaths.release(), creationContext, isolate);
|
| + return toV8(value.array(), creationContext, isolate);
|
| }
|
| ASSERT_NOT_REACHED();
|
| return v8::Undefined(isolate);
|
|
|