| Index: Source/core/html/RadioNodeList.cpp
|
| diff --git a/Source/core/html/RadioNodeList.cpp b/Source/core/html/RadioNodeList.cpp
|
| index e3a4ad92b16429bcc1d3e25c919d7a0360d0336e..b16d78c5afb7710e45730b3c5deb3795548c61c3 100644
|
| --- a/Source/core/html/RadioNodeList.cpp
|
| +++ b/Source/core/html/RadioNodeList.cpp
|
| @@ -30,6 +30,7 @@
|
| #include "core/dom/Element.h"
|
| #include "core/dom/NodeRareData.h"
|
| #include "core/html/HTMLFormElement.h"
|
| +#include "core/html/HTMLImageElement.h"
|
| #include "core/html/HTMLInputElement.h"
|
| #include "core/html/HTMLObjectElement.h"
|
|
|
| @@ -114,7 +115,7 @@ bool RadioNodeList::elementMatches(const Element& element) const
|
| if (!isHTMLImageElement(element))
|
| return false;
|
|
|
| - if (toHTMLElement(element).formOwner() != ownerNode())
|
| + if (toHTMLImageElement(element).formOwner() != ownerNode())
|
| return false;
|
|
|
| return matchesByIdOrName(element);
|
|
|