Index: Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp b/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
index 4db5f1ba6a09732fbeeb3f4647353b00477b5fd7..9c08f7f558af429c255c40d16d5ed9e67ad69a10 100644 |
--- a/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
+++ b/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
@@ -62,7 +62,7 @@ static v8::Handle<v8::Value> getItem(HTMLAllCollection* collection, v8::Handle<v |
{ |
v8::Local<v8::Uint32> index = argument->ToArrayIndex(); |
if (index.IsEmpty()) { |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<>, name, argument, v8::Undefined(info.GetIsolate())); |
+ TOSTRING_BOOL_BOOL(V8StringResource<>, name, argument, v8::Undefined(info.GetIsolate())); |
v8::Handle<v8::Value> result = getNamedItems(collection, name, info); |
if (result.IsEmpty()) |
@@ -97,7 +97,7 @@ void V8HTMLAllCollection::legacyCallCustom(const v8::FunctionCallbackInfo<v8::Va |
} |
// If there is a second argument it is the index of the item we want. |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, name, info[0]); |
+ TOSTRING_VOID(V8StringResource<>, name, info[0]); |
v8::Local<v8::Uint32> index = info[1]->ToArrayIndex(); |
if (index.IsEmpty()) |
return; |