Index: Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp b/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
index 670b36cbadd5a2535da4e79309536ac1c7e81807..d337349ba2eefeccf65c3a89a12abcae4685a418 100644 |
--- a/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
+++ b/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp |
@@ -31,7 +31,7 @@ |
#include "config.h" |
#include "V8HTMLAllCollection.h" |
-#include "V8Node.h" |
+#include "V8Element.h" |
#include "V8NodeList.h" |
#include "bindings/v8/V8Binding.h" |
#include "core/dom/NamedNodesCollection.h" |
@@ -43,7 +43,7 @@ namespace WebCore { |
template<class CallbackInfo> |
static v8::Handle<v8::Value> getNamedItems(HTMLAllCollection* collection, AtomicString name, const CallbackInfo& info) |
{ |
- Vector<RefPtr<Node> > namedItems; |
+ Vector<RefPtr<Element> > namedItems; |
collection->namedItems(name, namedItems); |
if (!namedItems.size()) |