Index: Source/core/html/HTMLFormElement.cpp |
diff --git a/Source/core/html/HTMLFormElement.cpp b/Source/core/html/HTMLFormElement.cpp |
index 2ae2ecbeb61fd30cd773ee496ee9319e355fe054..69224c2615eb19aa33c63796c6425d8f012b986c 100644 |
--- a/Source/core/html/HTMLFormElement.cpp |
+++ b/Source/core/html/HTMLFormElement.cpp |
@@ -750,7 +750,7 @@ void HTMLFormElement::copyNonAttributePropertiesFromElement(const Element& sourc |
HTMLElement::copyNonAttributePropertiesFromElement(source); |
} |
-void HTMLFormElement::anonymousNamedGetter(const AtomicString& name, bool& returnValue0Enabled, RefPtrWillBeRawPtr<RadioNodeList>& returnValue0, bool& returnValue1Enabled, RefPtr<Element>& returnValue1) |
+void HTMLFormElement::anonymousNamedGetter(const AtomicString& name, bool& returnValue0Enabled, RefPtrWillBeRawPtr<RadioNodeList>& returnValue0, bool& returnValue1Enabled, RefPtrWillBeRawPtr<Element>& returnValue1) |
{ |
// Call getNamedElements twice, first time check if it has a value |
// and let HTMLFormElement update its cache. |
@@ -770,8 +770,7 @@ void HTMLFormElement::anonymousNamedGetter(const AtomicString& name, bool& retur |
if (elements.size() == 1) { |
returnValue1Enabled = true; |
- // FIXME: Oilpan: remove the call to |get| when Element becomes [GarbageCollected]. |
- returnValue1 = elements.at(0).get(); |
+ returnValue1 = elements.at(0); |
return; |
} |