Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(596)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlock.cpp

Issue 2542723002: Margins that start at fragmentainer boundaries should be collapsed away. (Closed)
Patch Set: Back out an unnecessary and potentially harmful change. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
index 1fdd61270cf2d2d861006e00cc170d0d3bc30b88..f114f6e851e59a1c0cb5009c86b51c763620edc6 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
@@ -1887,15 +1887,6 @@ LayoutBox* LayoutBlock::createAnonymousBoxWithSameTypeAs(
return createAnonymousWithParentAndDisplay(parent, style()->display());
}
-LayoutUnit LayoutBlock::nextPageLogicalTop(LayoutUnit logicalOffset) const {
- LayoutUnit pageLogicalHeight = pageLogicalHeightForOffset(logicalOffset);
- if (!pageLogicalHeight)
- return logicalOffset;
-
- return logicalOffset + pageRemainingLogicalHeightForOffset(
- logicalOffset, AssociateWithLatterPage);
-}
-
void LayoutBlock::paginatedContentWasLaidOut(
LayoutUnit logicalBottomOffsetAfterPagination) {
if (LayoutFlowThread* flowThread = flowThreadContainingBlock())
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.h ('k') | third_party/WebKit/Source/core/layout/LayoutBlockFlow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698