| 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 3f5674690f899584ce0e17f89b81b85162d47b87..14c3bcc0ae9b2b785bb1bbfb63c6ef7ace7d6d84 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.cpp
|
| @@ -244,7 +244,7 @@ void OpenTypeVerticalData::getVerticalTranslationsForGlyphs(
|
| size_t count,
|
| float* outXYArray) const {
|
| size_t countWidths = m_advanceWidths.size();
|
| - ASSERT(countWidths > 0);
|
| + DCHECK_GT(countWidths, 0u);
|
| const FontMetrics& metrics = font->getFontMetrics();
|
| float sizePerUnit = font->sizePerUnit();
|
| float ascent = metrics.ascent();
|
|
|