| Index: Source/core/editing/RemoveNodeCommand.cpp
|
| diff --git a/Source/core/editing/RemoveNodeCommand.cpp b/Source/core/editing/RemoveNodeCommand.cpp
|
| index 0640559a6dce1003aacea909a4c9a9eca6a8307f..4fca7bd9ff3e8e16ff5dcfada67d84908dca390a 100644
|
| --- a/Source/core/editing/RemoveNodeCommand.cpp
|
| +++ b/Source/core/editing/RemoveNodeCommand.cpp
|
| @@ -45,9 +45,9 @@ void RemoveNodeCommand::doApply()
|
| {
|
| ContainerNode* parent = m_node->parentNode();
|
| if (!parent || (m_shouldAssumeContentIsAlwaysEditable == DoNotAssumeContentIsAlwaysEditable
|
| - && !parent->isContentEditable(Node::UserSelectAllIsAlwaysNonEditable) && parent->attached()))
|
| + && !parent->isContentEditable(Node::UserSelectAllIsAlwaysNonEditable) && parent->confusingAndOftenMisusedAttached()))
|
| return;
|
| - ASSERT(parent->isContentEditable(Node::UserSelectAllIsAlwaysNonEditable) || !parent->attached());
|
| + ASSERT(parent->isContentEditable(Node::UserSelectAllIsAlwaysNonEditable) || !parent->confusingAndOftenMisusedAttached());
|
|
|
| m_parent = parent;
|
| m_refChild = m_node->nextSibling();
|
|
|