summaryrefslogtreecommitdiffstats
path: root/WebCore/wml/WMLOptionElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/wml/WMLOptionElement.cpp')
-rw-r--r--WebCore/wml/WMLOptionElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/wml/WMLOptionElement.cpp b/WebCore/wml/WMLOptionElement.cpp
index bc97215..6c8aa74 100644
--- a/WebCore/wml/WMLOptionElement.cpp
+++ b/WebCore/wml/WMLOptionElement.cpp
@@ -56,7 +56,7 @@ const AtomicString& WMLOptionElement::formControlType() const
static inline WMLSelectElement* ownerSelectElement(Element* element)
{
- Node* select = element->parentNode();
+ ContainerNode* select = element->parentNode();
while (select && !select->hasTagName(selectTag))
select = select->parentNode();