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 6774606bbe87f2d44541a216072c22e94fcafb04..f942d6ebaee394f8d6e0f9178f9d9aebfc7d1f27 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
@@ -1093,6 +1093,11 @@ bool LayoutBlock::simplifiedLayout() |
if (needsPositionedMovementLayout() && !tryLayoutDoingPositionedMovementOnly()) |
return false; |
+ if (LayoutFlowThread* flowThread = flowThreadContainingBlock()) { |
+ if (!flowThread->canSkipLayout(*this)) |
+ return false; |
+ } |
+ |
TextAutosizer::LayoutScope textAutosizerLayoutScope(this); |
// Lay out positioned descendants or objects that just need to recompute overflow. |