Index: Source/core/layout/TableLayoutAlgorithmAuto.h |
diff --git a/Source/core/layout/TableLayoutAlgorithmAuto.h b/Source/core/layout/TableLayoutAlgorithmAuto.h |
index 6692ffe73e3389fa9c74427cde9484d36ca8a849..06a4814975dd209f8fb159f901e98074ab51bb4f 100644 |
--- a/Source/core/layout/TableLayoutAlgorithmAuto.h |
+++ b/Source/core/layout/TableLayoutAlgorithmAuto.h |
@@ -33,7 +33,8 @@ class LayoutTableCell; |
enum CellsToProcess { |
AllCells, |
- NonEmptyCells |
+ NonEmptyCells, |
+ EmptyCells |
}; |
enum DistributionMode { |
@@ -86,6 +87,7 @@ private: |
int effectiveMaxLogicalWidth; |
int computedLogicalWidth; |
bool emptyCellsOnly; |
+ int clampedEffectiveMaxLogicalWidth() { return std::max<int>(1, effectiveMaxLogicalWidth); } |
}; |
Vector<Layout, 4> m_layoutStruct; |