Index: third_party/WebKit/Source/core/layout/LayoutState.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutState.h b/third_party/WebKit/Source/core/layout/LayoutState.h |
index dbf781f6daacd605a597521c0978d7364f3f0fb0..de1d2afd51c7ae768b01d0601213638fc95dfba4 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutState.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutState.h |
@@ -83,6 +83,13 @@ class LayoutState { |
LayoutUnit PageLogicalOffset(const LayoutBox&, |
const LayoutUnit& child_logical_offset) const; |
+ LayoutUnit HeightOffsetForTableHeaders() const { |
+ return height_offset_for_table_headers_; |
+ } |
+ void SetHeightOffsetForTableHeaders(LayoutUnit offset) { |
+ height_offset_for_table_headers_ = offset; |
+ } |
+ |
const LayoutSize& PaginationOffset() const { return pagination_offset_; } |
bool ContainingBlockLogicalWidthChanged() const { |
return containing_block_logical_width_changed_; |
@@ -113,6 +120,10 @@ class LayoutState { |
// relative positioning or scroll offsets. |
LayoutSize pagination_offset_; |
+ // The height we need to make available for repeating table headers in |
+ // paginated layout. |
+ LayoutUnit height_offset_for_table_headers_; |
+ |
LayoutObject& layout_object_; |
}; |