summaryrefslogtreecommitdiffstats
path: root/WebCore/wml/WMLDoElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/wml/WMLDoElement.cpp')
-rw-r--r--WebCore/wml/WMLDoElement.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/wml/WMLDoElement.cpp b/WebCore/wml/WMLDoElement.cpp
index 9398aa0..17a6d10 100644
--- a/WebCore/wml/WMLDoElement.cpp
+++ b/WebCore/wml/WMLDoElement.cpp
@@ -120,7 +120,7 @@ void WMLDoElement::insertedIntoDocument()
if (!hasAttribute(HTMLNames::nameAttr))
m_name = m_type;
- Node* parent = parentNode();
+ ContainerNode* parent = parentNode();
if (!parent || !parent->isWMLElement())
return;
@@ -130,7 +130,7 @@ void WMLDoElement::insertedIntoDocument()
void WMLDoElement::removedFromDocument()
{
- Node* parent = parentNode();
+ ContainerNode* parent = parentNode();
if (parent && parent->isWMLElement()) {
if (WMLEventHandlingElement* eventHandlingElement = toWMLEventHandlingElement(static_cast<WMLElement*>(parent)))