Index: Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp b/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
index dbbd02c82fcebd06a7926f6b44aadc34eb8266c0..e0d69f27a4448c1236202193b9928a2ba60ee877 100644 |
--- a/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
+++ b/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
@@ -64,7 +64,7 @@ static v8::Handle<v8::Value> getItem(HTMLAllCollection* collection, v8::Handle<v |
v8::Handle<v8::Value> result = getNamedItems(collection, toWebCoreString(argument->ToString()), callbackInfo); |
if (result.IsEmpty()) |
- return v8::Undefined(); |
+ return v8::Undefined(callbackInfo.GetIsolate()); |
return result; |
} |