| Index: Source/core/html/HTMLOptionsCollection.cpp
|
| diff --git a/Source/core/html/HTMLOptionsCollection.cpp b/Source/core/html/HTMLOptionsCollection.cpp
|
| index f16a6d6d0b70cca811a1494f210220067a579516..e27e0e1629d2c0a28f90b8a341e0bfced2843623 100644
|
| --- a/Source/core/html/HTMLOptionsCollection.cpp
|
| +++ b/Source/core/html/HTMLOptionsCollection.cpp
|
| @@ -123,7 +123,7 @@ void HTMLOptionsCollection::setLength(unsigned length, ExceptionState& exception
|
| toHTMLSelectElement(ownerNode()).setLength(length, exceptionState);
|
| }
|
|
|
| -void HTMLOptionsCollection::namedGetter(const AtomicString& name, bool& returnValue0Enabled, RefPtrWillBeRawPtr<NodeList>& returnValue0, bool& returnValue1Enabled, RefPtr<Element>& returnValue1)
|
| +void HTMLOptionsCollection::namedGetter(const AtomicString& name, bool& returnValue0Enabled, RefPtrWillBeRawPtr<NodeList>& returnValue0, bool& returnValue1Enabled, RefPtrWillBeRawPtr<Element>& returnValue1)
|
| {
|
| WillBeHeapVector<RefPtrWillBeMember<Element> > namedItems;
|
| this->namedItems(name, namedItems);
|
| @@ -133,8 +133,7 @@ void HTMLOptionsCollection::namedGetter(const AtomicString& name, bool& returnVa
|
|
|
| if (namedItems.size() == 1) {
|
| returnValue1Enabled = true;
|
| - // FIXME: Oilpan: remove the call to |get| when Element becomes [GarbageCollected].
|
| - returnValue1 = namedItems.at(0).get();
|
| + returnValue1 = namedItems.at(0);
|
| return;
|
| }
|
|
|
|
|