summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/editing/AppendNodeCommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/editing/AppendNodeCommand.cpp')
-rw-r--r--Source/WebCore/editing/AppendNodeCommand.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebCore/editing/AppendNodeCommand.cpp b/Source/WebCore/editing/AppendNodeCommand.cpp
index 58f7fa6..9395968 100644
--- a/Source/WebCore/editing/AppendNodeCommand.cpp
+++ b/Source/WebCore/editing/AppendNodeCommand.cpp
@@ -31,7 +31,7 @@
namespace WebCore {
-AppendNodeCommand::AppendNodeCommand(PassRefPtr<Element> parent, PassRefPtr<Node> node)
+AppendNodeCommand::AppendNodeCommand(PassRefPtr<ContainerNode> parent, PassRefPtr<Node> node)
: SimpleEditCommand(parent->document())
, m_parent(parent)
, m_node(node)
@@ -40,7 +40,7 @@ AppendNodeCommand::AppendNodeCommand(PassRefPtr<Element> parent, PassRefPtr<Node
ASSERT(m_node);
ASSERT(!m_node->parentNode());
- ASSERT(m_parent->isContentEditable() || !m_parent->attached());
+ ASSERT(m_parent->rendererIsEditable() || !m_parent->attached());
}
static void sendAXTextChangedIgnoringLineBreaks(Node* node, AXObjectCache::AXTextChange textChange)
@@ -56,7 +56,7 @@ static void sendAXTextChangedIgnoringLineBreaks(Node* node, AXObjectCache::AXTex
void AppendNodeCommand::doApply()
{
- if (!m_parent->isContentEditable() && m_parent->attached())
+ if (!m_parent->rendererIsEditable() && m_parent->attached())
return;
ExceptionCode ec;
@@ -68,7 +68,7 @@ void AppendNodeCommand::doApply()
void AppendNodeCommand::doUnapply()
{
- if (!m_parent->isContentEditable())
+ if (!m_parent->rendererIsEditable())
return;
// Need to notify this before actually deleting the text