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

Unified Diff: third_party/WebKit/Source/platform/fonts/CharacterRange.h

Issue 2807913002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/fonts (Closed)
Patch Set: rebase 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/fonts/Font.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/fonts/CharacterRange.h
diff --git a/third_party/WebKit/Source/platform/fonts/CharacterRange.h b/third_party/WebKit/Source/platform/fonts/CharacterRange.h
index 56f4cca5dd3eb0c08fb1cfd37d053b508c9b1848..e441747537db4950d987ed9cccfd805a2e9f9da2 100644
--- a/third_party/WebKit/Source/platform/fonts/CharacterRange.h
+++ b/third_party/WebKit/Source/platform/fonts/CharacterRange.h
@@ -9,7 +9,7 @@ namespace blink {
struct CharacterRange {
CharacterRange(float from, float to) : start(from), end(to) {
- ASSERT(start <= end);
+ DCHECK_LE(start, end);
}
float Width() const { return end - start; }
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/fonts/Font.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698