| Index: sky/engine/core/rendering/RenderParagraph.cpp
|
| diff --git a/sky/engine/core/rendering/RenderParagraph.cpp b/sky/engine/core/rendering/RenderParagraph.cpp
|
| index 404090b4de9bf1970553fd618ae23d2c4a36c3cc..72eb951d72d5654b5491a445ef40d453bbf77e36 100644
|
| --- a/sky/engine/core/rendering/RenderParagraph.cpp
|
| +++ b/sky/engine/core/rendering/RenderParagraph.cpp
|
| @@ -735,7 +735,6 @@ void RenderParagraph::layoutRunsAndFloats(LineLayoutState& layoutState)
|
|
|
| layoutRunsAndFloatsInRange(layoutState, resolver, cleanLineStart, cleanLineBidiStatus);
|
| linkToEndLineIfNeeded(layoutState);
|
| - markDirtyFloatsForPaintInvalidation(layoutState.floats());
|
| }
|
|
|
| void RenderParagraph::layoutRunsAndFloatsInRange(LineLayoutState& layoutState,
|
| @@ -853,22 +852,6 @@ void RenderParagraph::linkToEndLineIfNeeded(LineLayoutState& layoutState)
|
| }
|
| }
|
|
|
| -void RenderParagraph::markDirtyFloatsForPaintInvalidation(Vector<FloatWithRect>& floats)
|
| -{
|
| - size_t floatCount = floats.size();
|
| - // Floats that did not have layout did not paint invalidations when we laid them out. They would have
|
| - // painted by now if they had moved, but if they stayed at (0, 0), they still need to be
|
| - // painted.
|
| - for (size_t i = 0; i < floatCount; ++i) {
|
| - if (!floats[i].everHadLayout) {
|
| - RenderBox* f = floats[i].object;
|
| - if (!f->x() && !f->y() && f->checkForPaintInvalidation()) {
|
| - f->setShouldDoFullPaintInvalidation(true);
|
| - }
|
| - }
|
| - }
|
| -}
|
| -
|
| struct InlineMinMaxIterator {
|
| /* InlineMinMaxIterator is a class that will iterate over all render objects that contribute to
|
| inline min/max width calculations. Note the following about the way it walks:
|
|
|