Index: Source/bindings/v8/V8Binding.cpp |
diff --git a/Source/bindings/v8/V8Binding.cpp b/Source/bindings/v8/V8Binding.cpp |
index 5c7c273d2d651b28d64782b9b85e480a72f3bebd..fa134cacc1a2aa5359332f0a3ac41401b3ab8ba5 100644 |
--- a/Source/bindings/v8/V8Binding.cpp |
+++ b/Source/bindings/v8/V8Binding.cpp |
@@ -411,7 +411,8 @@ PassRefPtr<DOMStringList> toDOMStringList(v8::Handle<v8::Value> value, v8::Isola |
v8::Local<v8::Array> v8Array = v8::Local<v8::Array>::Cast(v8Value); |
for (size_t i = 0; i < v8Array->Length(); ++i) { |
v8::Local<v8::Value> indexedValue = v8Array->Get(v8::Integer::New(i, isolate)); |
- ret->append(toWebCoreString(indexedValue)); |
+ V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<>, stringValue, indexedValue, 0); |
+ ret->append(stringValue); |
} |
return ret.release(); |
} |