Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Unified Diff: third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698