Index: third_party/WebKit/Source/core/layout/LayoutTableRow.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableRow.h b/third_party/WebKit/Source/core/layout/LayoutTableRow.h |
index 753da7577b956e629224c10e02e2b53de07350d3..8101cee562da966533f99ad1fa670688d7d80b06 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableRow.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableRow.h |
@@ -128,6 +128,10 @@ public: |
bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const override; |
+ int paginationStrutPropagatedFromCell() const { return m_paginationStrutPropagatedFromCell; } |
+ void resetPaginationStrutPropagatedFromCell() { m_paginationStrutPropagatedFromCell = 0; } |
+ void setPaginationStrutPropagatedFromCell(LayoutUnit strut) { ASSERT(!m_paginationStrutPropagatedFromCell || !strut || m_paginationStrutPropagatedFromCell == strut); m_paginationStrutPropagatedFromCell = strut; } |
+ |
private: |
LayoutObjectChildList* virtualChildren() override { return children(); } |
const LayoutObjectChildList* virtualChildren() const override { return children(); } |
@@ -165,6 +169,7 @@ private: |
// rowIndex() above instead. This is to ensure that we never read this |
// value before it is set. |
unsigned m_rowIndex : 31; |
+ int m_paginationStrutPropagatedFromCell; |
}; |
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableRow, isTableRow()); |