| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 24e8029cd76195d5c3b2fcb13c43c455ff6dd9f9..5af71fde8eba6eea7e4875112426600030630282 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -4752,7 +4752,7 @@ bool LayoutBox::childNeedsRelayoutForPagination(const LayoutBox& child) const {
|
| // Figure out if we really need to force re-layout of the child. We only need
|
| // to do this if there's a chance that we need to recalculate pagination
|
| // struts inside.
|
| - if (LayoutUnit pageLogicalHeight = pageLogicalHeightForOffset(logicalTop)) {
|
| + if (pageLogicalHeightForOffset(logicalTop)) {
|
| LayoutUnit logicalHeight = child.logicalHeightWithVisibleOverflow();
|
| LayoutUnit remainingSpace = pageRemainingLogicalHeightForOffset(
|
| logicalTop, AssociateWithLatterPage);
|
|
|