Index: third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.cpp |
index 77a0e8868a6e0cfeeb02709a9a822f258d0ecefd..c93fcedc155d3666e91af2b28d37fff55ee28e46 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.cpp |
@@ -52,9 +52,10 @@ InsertNodeBeforeCommand::InsertNodeBeforeCommand( |
void InsertNodeBeforeCommand::doApply(EditingState*) { |
ContainerNode* parent = m_refChild->parentNode(); |
document().updateStyleAndLayoutTree(); |
- if (!parent || (m_shouldAssumeContentIsAlwaysEditable == |
- DoNotAssumeContentIsAlwaysEditable && |
- !hasEditableStyle(*parent))) |
+ if (!parent || |
+ (m_shouldAssumeContentIsAlwaysEditable == |
+ DoNotAssumeContentIsAlwaysEditable && |
+ !hasEditableStyle(*parent))) |
return; |
DCHECK(hasEditableStyle(*parent)) << parent; |