Index: third_party/WebKit/Source/core/layout/LayoutTableCell.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.h b/third_party/WebKit/Source/core/layout/LayoutTableCell.h |
index 963a5aa24391ac67e7175c160f2cbb24226acec4..57f1089872620997692b0e55e7b3e25404fa6d20 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableCell.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.h |
@@ -200,7 +200,13 @@ class CORE_EXPORT LayoutTableCell final : public LayoutBlockFlow { |
va == VerticalAlignSub || va == VerticalAlignLength; |
} |
- void computeIntrinsicPadding(int rowHeight, SubtreeLayoutScope&); |
+ // Align the cell in the block direction. This is done by calculating an |
+ // intrinsic padding before and after the cell contents, so that all cells in |
+ // the row get the same logical height. |
+ void computeIntrinsicPadding(int rowHeight, |
+ EVerticalAlign, |
+ SubtreeLayoutScope&); |
+ |
void clearIntrinsicPadding() { setIntrinsicPadding(0, 0); } |
int intrinsicPaddingBefore() const { return m_intrinsicPaddingBefore; } |