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

Unified Diff: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.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/CompositeEditCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
index 3224f4871fae71780c213fc7616c0a67351dd933..46ac6b3b09a6f90b862660434f9a4b1e0aa79c89 100644
--- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
@@ -189,7 +189,7 @@ bool CompositeEditCommand::apply()
case EditActionUnspecified:
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return false;
}
}
@@ -581,7 +581,7 @@ Position CompositeEditCommand::positionOutsideTabSpan(const Position& pos)
switch (pos.anchorType()) {
case PositionAnchorType::BeforeChildren:
case PositionAnchorType::AfterChildren:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return pos;
case PositionAnchorType::OffsetInAnchor:
break;

Powered by Google App Engine
This is Rietveld 408576698