Index: Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp b/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
index d337349ba2eefeccf65c3a89a12abcae4685a418..199d33cde91265215f145c122102beb36234ca8a 100644 |
--- a/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
+++ b/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
@@ -71,7 +71,7 @@ static v8::Handle<v8::Value> getItem(HTMLAllCollection* collection, v8::Handle<v |
return result; |
} |
- RefPtr<Node> result = collection->item(index->Uint32Value()); |
+ RefPtr<Element> result = collection->item(index->Uint32Value()); |
return toV8(result.release(), info.Holder(), info.GetIsolate()); |
} |