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

Unified Diff: third_party/WebKit/Source/core/css/FontSize.h

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: Worked on Review Comments done Created 3 years, 9 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/css/FontSize.h
diff --git a/third_party/WebKit/Source/core/css/FontSize.h b/third_party/WebKit/Source/core/css/FontSize.h
index a5a356bb2b70888acfe83bced119477f5762fc2c..b93daab6874c48ad8ba69c92864d54500ed2c004 100644
--- a/third_party/WebKit/Source/core/css/FontSize.h
+++ b/third_party/WebKit/Source/core/css/FontSize.h
@@ -50,7 +50,7 @@ class FontSize {
// function returns
// values from '1' to '8'.
static unsigned keywordSize(CSSValueID valueID) {
- ASSERT(isValidValueID(valueID));
+ DCHECK(isValidValueID(valueID));
return valueID - CSSValueXxSmall + 1;
}

Powered by Google App Engine
This is Rietveld 408576698