Index: third_party/WebKit/Source/core/layout/LayoutBox.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h |
index 5aef1c6a3307a80e5519097008d2a21bfc911b0c..42c0477568ea40f5da5ff9eb8cc8cab91ddcc866 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h |
@@ -781,6 +781,7 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject { |
LayoutUnit pageLogicalHeightForOffset(LayoutUnit) const; |
LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, |
PageBoundaryRule) const; |
+ bool crossesPageBoundary(LayoutUnit offset, LayoutUnit logicalHeight) const; |
// Calculate the strut to insert in order fit content of size |
// |contentLogicalHeight|. |strutToNextPage| is the strut to add to |offset| |