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

Unified Diff: third_party/WebKit/Source/platform/text/BidiCharacterRun.h

Issue 2811453002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/text (Closed)
Patch Set: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/text Created 3 years, 8 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/platform/text/BidiCharacterRun.h
diff --git a/third_party/WebKit/Source/platform/text/BidiCharacterRun.h b/third_party/WebKit/Source/platform/text/BidiCharacterRun.h
index f8f839c7c6c4bd9c828d858405c1c6055817465b..e8c17e5c1e5eeaa14e3eed11acadadee8817ea17 100644
--- a/third_party/WebKit/Source/platform/text/BidiCharacterRun.h
+++ b/third_party/WebKit/Source/platform/text/BidiCharacterRun.h
@@ -39,7 +39,7 @@ struct BidiCharacterRun {
m_next(0),
m_start(start),
m_stop(stop) {
- ASSERT(m_start <= m_stop);
+ DCHECK_LE(m_start, m_stop);
if (dir == WTF::Unicode::OtherNeutral)
dir = overrideDir;

Powered by Google App Engine
This is Rietveld 408576698