| Index: third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.cpp b/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.cpp
|
| index 4fa03457897f5a8b02de19df9aeb93f36d98e585..53792557c39716615316053d988a75bba8e93ef5 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.cpp
|
| @@ -245,7 +245,7 @@ void OpenTypeVerticalData::GetVerticalTranslationsForGlyphs(
|
| size_t count,
|
| float* out_xy_array) const {
|
| size_t count_widths = advance_widths_.size();
|
| - ASSERT(count_widths > 0);
|
| + DCHECK_GT(count_widths, 0u);
|
| const FontMetrics& metrics = font->GetFontMetrics();
|
| float size_per_unit = font->SizePerUnit();
|
| float ascent = metrics.Ascent();
|
|
|