| Index: Source/bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp b/Source/bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp
|
| index ab84454965fc77005173303993529741bf7aaee2..c47052f62c230b96c27c4940e8b66962982790ac 100644
|
| --- a/Source/bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp
|
| @@ -31,7 +31,7 @@
|
| #include "config.h"
|
| #include "V8HTMLFormControlsCollection.h"
|
|
|
| -#include "V8Node.h"
|
| +#include "V8Element.h"
|
| #include "V8RadioNodeList.h"
|
| #include "bindings/v8/V8Binding.h"
|
| #include "core/html/HTMLCollection.h"
|
| @@ -42,7 +42,7 @@ namespace WebCore {
|
| template<typename CallbackInfo>
|
| static v8::Handle<v8::Value> getNamedItems(HTMLFormControlsCollection* collection, const AtomicString& name, const CallbackInfo& info)
|
| {
|
| - Vector<RefPtr<Node> > namedItems;
|
| + Vector<RefPtr<Element> > namedItems;
|
| collection->namedItems(name, namedItems);
|
|
|
| if (!namedItems.size())
|
|
|