Index: third_party/WebKit/Source/core/layout/LayoutTable.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.h b/third_party/WebKit/Source/core/layout/LayoutTable.h |
index 5cc61bedd607070de4d9eb057b5d1e26a1dffb0a..ee2101638cb4a22199a855e3d15b9b5477e1fae5 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTable.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.h |
@@ -469,9 +469,9 @@ class CORE_EXPORT LayoutTable final : public LayoutBlock { |
LayoutUnit convertStyleLogicalWidthToComputedWidth( |
const Length& styleLogicalWidth, |
- LayoutUnit availableWidth); |
+ LayoutUnit availableWidth) const; |
LayoutUnit convertStyleLogicalHeightToComputedHeight( |
- const Length& styleLogicalHeight); |
+ const Length& styleLogicalHeight) const; |
LayoutRect overflowClipRect( |
const LayoutPoint& location, |
@@ -485,6 +485,10 @@ class CORE_EXPORT LayoutTable final : public LayoutBlock { |
SubtreeLayoutScope&, |
LayoutUnit logicalLeft); |
+ // Return the logical height based on the height, min-height and max-height |
+ // properties from CSS. Will return 0 if auto. |
+ LayoutUnit logicalHeightFromStyle() const; |
+ |
void distributeExtraLogicalHeight(int extraLogicalHeight); |
void recalcCollapsedBordersIfNeeded(); |