Index: Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp b/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
index 3b5a23d6e01d014451402b7183cd9b62cfe7a10d..ac7214cacbe83b02ceeec8039c9b012a67aa0866 100644 |
--- a/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
+++ b/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
@@ -120,8 +120,8 @@ v8::Handle<v8::Value> V8HTMLAllCollection::callAsFunctionCallback(const v8::Argu |
if (index.IsEmpty()) |
return v8::Undefined(); |
- if (Node* node = imp->namedItemWithIndex(name, index->Uint32Value())) |
- return toV8Fast(Handle<Node>(node), args, imp); |
+ if (Handle<Node> node = imp->namedItemWithIndex(name, index->Uint32Value())) |
+ return toV8Fast(node, args, imp); |
return v8::Undefined(); |
} |