| 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..5ba98f2446ded4adb1fda9dca1b030e8ce9c4dab 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, static_cast<unsigned>(1));
|
| + DCHECK_LE(keyword, static_cast<unsigned>(8));
|
| const Settings* settings = document->settings();
|
| if (!settings)
|
| return 1.0f;
|
|
|