| 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 6697d33939965e8bd960ac60bf6a2b3fa5fa9038..f4592ff7f76e5cfa61ee5d9fc4ff56a2dfb9ea4f 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/RemoveNodeCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/RemoveNodeCommand.cpp
|
| @@ -47,9 +47,10 @@ RemoveNodeCommand::RemoveNodeCommand(
|
| void RemoveNodeCommand::doApply(EditingState* editingState) {
|
| ContainerNode* parent = m_node->parentNode();
|
| document().updateStyleAndLayoutTree();
|
| - if (!parent || (m_shouldAssumeContentIsAlwaysEditable ==
|
| - DoNotAssumeContentIsAlwaysEditable &&
|
| - !hasEditableStyle(*parent) && parent->inActiveDocument()))
|
| + if (!parent ||
|
| + (m_shouldAssumeContentIsAlwaysEditable ==
|
| + DoNotAssumeContentIsAlwaysEditable &&
|
| + !hasEditableStyle(*parent) && parent->inActiveDocument()))
|
| return;
|
| DCHECK(hasEditableStyle(*parent) || !parent->inActiveDocument()) << parent;
|
|
|
|
|