Index: third_party/WebKit/Source/core/css/FontSize.cpp |
diff --git a/third_party/WebKit/Source/core/css/FontSize.cpp b/third_party/WebKit/Source/core/css/FontSize.cpp |
index a91ca825f254b2fd9954ab7288f9f4f003b40809..d664fc46f2c23b8ab4c95e93c4a54a76a59f7196 100644 |
--- a/third_party/WebKit/Source/core/css/FontSize.cpp |
+++ b/third_party/WebKit/Source/core/css/FontSize.cpp |
@@ -141,7 +141,8 @@ static int inline rowFromMediumFontSizeInRange(const Settings* settings, |
float FontSize::fontSizeForKeyword(const Document* document, |
unsigned keyword, |
bool isMonospace) { |
- ASSERT(keyword >= 1 && keyword <= 8); |
+ DCHECK_GE(keyword, 1u); |
+ DCHECK_LE(keyword, 8u); |
const Settings* settings = document->settings(); |
if (!settings) |
return 1.0f; |