| Index: third_party/WebKit/Source/core/editing/commands/RemoveNodeCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/RemoveNodeCommand.cpp b/third_party/WebKit/Source/core/editing/commands/RemoveNodeCommand.cpp
|
| index d655897b8251f15aba7574d7de27bcaa0133507c..34cf6bebbaa3cd86f4245bc411c4cb40ce991522 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/RemoveNodeCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/RemoveNodeCommand.cpp
|
| @@ -64,7 +64,7 @@ void RemoveNodeCommand::doUnapply()
|
| {
|
| ContainerNode* parent = m_parent.release();
|
| Node* refChild = m_refChild.release();
|
| - if (!parent || !parent->hasEditableStyle())
|
| + if (!parent || !hasEditableStyle(*parent))
|
| return;
|
|
|
| parent->insertBefore(m_node.get(), refChild, IGNORE_EXCEPTION);
|
|
|