| Index: third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp b/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp
|
| index 0c4c42d5cf5195a8fe428e3262db46ad56be027d..70d92881d635ef658a25fbe242bc345ec31db909 100644
|
| --- a/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp
|
| @@ -500,8 +500,8 @@ int TableLayoutAlgorithmAuto::calcEffectiveLogicalWidth() {
|
| allocatedMinLogicalWidth += columnMinLogicalWidth;
|
| allocatedMaxLogicalWidth += columnMaxLogicalWidth;
|
| }
|
| - ASSERT(allocatedMinLogicalWidth <= cellMinLogicalWidth);
|
| - ASSERT(allocatedMaxLogicalWidth <= cellMaxLogicalWidth);
|
| + DCHECK_LE(allocatedMinLogicalWidth, cellMinLogicalWidth);
|
| + DCHECK_LE(allocatedMaxLogicalWidth, cellMaxLogicalWidth);
|
| cellMinLogicalWidth -= allocatedMinLogicalWidth;
|
| cellMaxLogicalWidth -= allocatedMaxLogicalWidth;
|
| } else {
|
| @@ -768,7 +768,7 @@ void TableLayoutAlgorithmAuto::layout() {
|
| if (available < 0)
|
| shrinkColumnWidth(Percent, available);
|
|
|
| - ASSERT(m_table->effectiveColumnPositions().size() == nEffCols + 1);
|
| + DCHECK_EQ(m_table->effectiveColumnPositions().size(), nEffCols + 1);
|
| int pos = 0;
|
| for (size_t i = 0; i < nEffCols; ++i) {
|
| m_table->setEffectiveColumnPosition(i, pos);
|
|
|