Index: Source/core/html/RadioNodeList.cpp |
diff --git a/Source/core/html/RadioNodeList.cpp b/Source/core/html/RadioNodeList.cpp |
index d2c9f29a06d0611801c4e385c3bab6ac136428a3..bbdce83edbfccb6961bf2d8897e26af55aabd512 100644 |
--- a/Source/core/html/RadioNodeList.cpp |
+++ b/Source/core/html/RadioNodeList.cpp |
@@ -47,7 +47,7 @@ RadioNodeList::RadioNodeList(ContainerNode* rootNode, const AtomicString& name, |
RadioNodeList::~RadioNodeList() |
{ |
- ownerNode()->nodeLists()->removeCache(this, m_onlyMatchImgElements ? RadioImgNodeListType : RadioNodeListType, m_name); |
+ ownerNode().nodeLists()->removeCache(this, m_onlyMatchImgElements ? RadioImgNodeListType : RadioNodeListType, m_name); |
} |
static inline HTMLInputElement* toRadioButtonInputElement(Node* node) |
@@ -93,7 +93,7 @@ bool RadioNodeList::checkElementMatchesRadioNodeListFilter(const Element& testEl |
{ |
ASSERT(!m_onlyMatchImgElements); |
ASSERT(testElement.hasTagName(objectTag) || testElement.isFormControlElement()); |
- if (ownerNode()->hasTagName(formTag)) { |
+ if (ownerNode().hasTagName(formTag)) { |
HTMLFormElement* formElement = toHTMLElement(testElement).formOwner(); |
if (!formElement || formElement != ownerNode()) |
return false; |