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

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

Issue 2082503003: ASSERT -> DCHECK conversions in core/editing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/ReplaceSelectionCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
index c58696bac7e974335f45eabb99581b0597a04278..43759f16e595ea16905a333fb05a84f5c2e90533 100644
--- a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
@@ -892,7 +892,7 @@ void ReplaceSelectionCommand::mergeEndIfNeeded(EditingState* editingState)
// Bail to avoid infinite recursion.
if (m_movingParagraph) {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return;
}
@@ -1641,7 +1641,7 @@ Node* ReplaceSelectionCommand::insertAsListItems(HTMLElement* listElement, Eleme
insertedNodes.respondToNodeInsertion(*listItem);
lastNode = listItem;
} else {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
}
if (isStart || isMiddle) {

Powered by Google App Engine
This is Rietveld 408576698