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

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: fix 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/text/BidiContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 807bc03b99db62f7f0c7d61d9368d0bdaecffe8e..2e2cc025fd6017807eab18951f6474788b8221f3 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 {
next_(0),
start_(start),
stop_(stop) {
- ASSERT(start_ <= stop_);
+ DCHECK_LE(start_, stop_);
if (dir == WTF::Unicode::kOtherNeutral)
dir = override_dir;
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/text/BidiContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698