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 1b64042e1b0b87a92d3e41a6e0e1298a907d381f..c642b3024f1d1bdd29a554a2d04271471def34bb 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
@@ -3696,7 +3696,7 @@ LayoutUnit LayoutBlockFlow::positionAndLayoutFloat( |
logicalTopMarginEdge + marginBeforeForChild(child)); |
SubtreeLayoutScope layoutScope(child); |
- if (isPaginated && !child.needsLayout()) |
+ if (!child.needsLayout()) |
markChildForPaginationRelayoutIfNeeded(child, layoutScope); |
child.layoutIfNeeded(); |