Index: Source/core/rendering/RenderBlockLineLayout.cpp |
diff --git a/Source/core/rendering/RenderBlockLineLayout.cpp b/Source/core/rendering/RenderBlockLineLayout.cpp |
index 667b68de4877fb27b1f2c219d6b485118679b15b..696ab86c8a235418551b80acf30aa4b1556a46d3 100644 |
--- a/Source/core/rendering/RenderBlockLineLayout.cpp |
+++ b/Source/core/rendering/RenderBlockLineLayout.cpp |
@@ -1222,7 +1222,7 @@ void RenderBlockFlow::repaintDirtyFloats(Vector<FloatWithRect>& floats) |
for (size_t i = 0; i < floatCount; ++i) { |
if (!floats[i].everHadLayout) { |
RenderBox* f = floats[i].object; |
- if (!f->x() && !f->y() && f->checkForRepaint()) { |
+ if (!f->x() && !f->y() && f->checkForPaintInvalidation()) { |
if (RuntimeEnabledFeatures::repaintAfterLayoutEnabled()) |
f->setShouldDoFullPaintInvalidationAfterLayout(true); |
else |
@@ -1831,7 +1831,7 @@ RootInlineBox* RenderBlockFlow::determineStartPosition(LineLayoutState& layoutSt |
if (layoutState.isFullLayout()) { |
// If we encountered a new float and have inline children, mark ourself to force us to issue paint invalidations. |
if (layoutState.hasInlineChild() && !selfNeedsLayout()) { |
- setNeedsLayoutAndFullRepaint(MarkOnlyThis); |
+ setNeedsLayoutAndFullPaintInvalidation(MarkOnlyThis); |
if (RuntimeEnabledFeatures::repaintAfterLayoutEnabled()) |
setShouldDoFullPaintInvalidationAfterLayout(true); |
} |