| Index: Source/core/html/HTMLFormControlsCollection.cpp
|
| diff --git a/Source/core/html/HTMLFormControlsCollection.cpp b/Source/core/html/HTMLFormControlsCollection.cpp
|
| index cb71f01a4a7b523b17dcabebfb5282a69d45a7e9..d1e465334bd2af718bd265bb6ad7f23665cde37b 100644
|
| --- a/Source/core/html/HTMLFormControlsCollection.cpp
|
| +++ b/Source/core/html/HTMLFormControlsCollection.cpp
|
| @@ -193,7 +193,7 @@ void HTMLFormControlsCollection::updateIdNameCache() const
|
| setNamedItemCache(cache.release());
|
| }
|
|
|
| -void HTMLFormControlsCollection::namedGetter(const AtomicString& name, bool& radioNodeListEnabled, RefPtrWillBeRawPtr<RadioNodeList>& radioNodeList, bool& elementEnabled, RefPtrWillBeRawPtr<Element>& element)
|
| +void HTMLFormControlsCollection::namedGetter(const AtomicString& name, RefPtrWillBeRawPtr<RadioNodeList>& radioNodeList, RefPtrWillBeRawPtr<Element>& element)
|
| {
|
| WillBeHeapVector<RefPtrWillBeMember<Element> > namedItems;
|
| this->namedItems(name, namedItems);
|
| @@ -202,12 +202,10 @@ void HTMLFormControlsCollection::namedGetter(const AtomicString& name, bool& rad
|
| return;
|
|
|
| if (namedItems.size() == 1) {
|
| - elementEnabled = true;
|
| element = namedItems.at(0);
|
| return;
|
| }
|
|
|
| - radioNodeListEnabled = true;
|
| radioNodeList = ownerNode().radioNodeList(name);
|
| }
|
|
|
|
|