| Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| index 359acb0524b8a521a062c2975514686772581dc1..54851bf6cc90e5a85413a40b3b8753228e399b61 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| @@ -1034,8 +1034,7 @@ LayoutUnit LayoutBlockFlow::adjustFloatLogicalTopForPagination(
|
| } else {
|
| // Even if we didn't break before the border box to the next
|
| // fragmentainer, we need to check if we can fit the margin before it.
|
| - if (LayoutUnit pageLogicalHeight =
|
| - pageLogicalHeightForOffset(logicalTopMarginEdge)) {
|
| + if (pageLogicalHeightForOffset(logicalTopMarginEdge)) {
|
| LayoutUnit remainingSpace = pageRemainingLogicalHeightForOffset(
|
| logicalTopMarginEdge, AssociateWithLatterPage);
|
| if (remainingSpace <= marginBefore)
|
|
|