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

Unified Diff: third_party/WebKit/Source/core/editing/commands/RemoveNodeCommand.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/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;

Powered by Google App Engine
This is Rietveld 408576698