| Index: third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| index 73fd82b32e8817d7ad407c0a17655c87b43deee3..05a3d2d1e043b91055bda372dfd41b54f984bc14 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| @@ -96,12 +96,12 @@ class ExpansionOpportunities {
|
| if (r->m_lineLayoutItem.isText()) {
|
| unsigned opportunitiesInRun = m_runsWithExpansions[i++];
|
|
|
| - RELEASE_ASSERT(opportunitiesInRun <= m_totalOpportunities);
|
| + CHECK_LE(opportunitiesInRun, m_totalOpportunities);
|
|
|
| // Don't justify for white-space: pre.
|
| if (r->m_lineLayoutItem.style()->whiteSpace() != EWhiteSpace::kPre) {
|
| InlineTextBox* textBox = toInlineTextBox(r->m_box);
|
| - RELEASE_ASSERT(m_totalOpportunities);
|
| + CHECK(m_totalOpportunities);
|
| int expansion = ((availableLogicalWidth - totalLogicalWidth) *
|
| opportunitiesInRun / m_totalOpportunities)
|
| .toInt();
|
|
|