summaryrefslogtreecommitdiffstats
path: root/WebCore/editing/SplitElementCommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/editing/SplitElementCommand.cpp')
-rw-r--r--WebCore/editing/SplitElementCommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/editing/SplitElementCommand.cpp b/WebCore/editing/SplitElementCommand.cpp
index 5047205..888c45f 100644
--- a/WebCore/editing/SplitElementCommand.cpp
+++ b/WebCore/editing/SplitElementCommand.cpp
@@ -53,7 +53,7 @@ void SplitElementCommand::executeApply()
ExceptionCode ec = 0;
- Node* parent = m_element2->parentNode();
+ ContainerNode* parent = m_element2->parentNode();
if (!parent || !parent->isContentEditable())
return;
parent->insertBefore(m_element1.get(), m_element2.get(), ec);