| Index: third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
|
| index a0dec32d91586f2c92afacbb5c50d3b30f8354da..30003cb058a561b852613b5dfef0f93800449525 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
|
| @@ -199,7 +199,8 @@ Color LayoutThemeMac::platformInactiveListBoxSelectionBackgroundColor() const {
|
| }
|
|
|
| static FontWeight toFontWeight(NSInteger appKitFontWeight) {
|
| - ASSERT(appKitFontWeight > 0 && appKitFontWeight < 15);
|
| + DCHECK_GT(appKitFontWeight, 0);
|
| + DCHECK_LT(appKitFontWeight, 15);
|
| if (appKitFontWeight > 14)
|
| appKitFontWeight = 14;
|
| else if (appKitFontWeight < 1)
|
|
|