| Index: Source/bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp b/Source/bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp
|
| index dc4841217d6765da17fff5b3fde0505f32007b03..3c6d796ce9078ec4dda255602c7b53618b1137f0 100644
|
| --- a/Source/bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp
|
| @@ -56,8 +56,9 @@ static v8::Handle<v8::Value> getNamedItems(HTMLFormControlsCollection* collectio
|
|
|
| void V8HTMLFormControlsCollection::namedItemMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| + V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, name, args[0]);
|
| HTMLFormControlsCollection* imp = V8HTMLFormControlsCollection::toNative(args.Holder());
|
| - v8::Handle<v8::Value> result = getNamedItems(imp, toWebCoreString(args[0]), args);
|
| + v8::Handle<v8::Value> result = getNamedItems(imp, name, args);
|
|
|
| if (result.IsEmpty()) {
|
| v8SetReturnValueNull(args);
|
|
|