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

Unified Diff: third_party/WebKit/Source/core/editing/commands/TypingCommand.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/TypingCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp b/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
index 5a96c05225f59c0a9070f28cca847fff4c5726e3..03a4cfbed4e1c5db5179a9591c2dcd97316b8410 100644
--- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
@@ -288,7 +288,7 @@ void TypingCommand::doApply(EditingState* editingState)
return;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
EditAction TypingCommand::editingAction() const
@@ -557,7 +557,7 @@ void TypingCommand::deleteKeyPressed(TextGranularity granularity, bool killRing,
break;
}
case NoSelection:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
@@ -650,7 +650,7 @@ void TypingCommand::forwardDeleteKeyPressed(TextGranularity granularity, bool ki
break;
}
case NoSelection:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
@@ -696,7 +696,7 @@ void TypingCommand::updatePreservesTypingStyle(ETypingCommand commandType)
m_preservesTypingStyle = false;
return;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
m_preservesTypingStyle = false;
}

Powered by Google App Engine
This is Rietveld 408576698