| Index: Source/core/rendering/RenderInline.cpp
|
| diff --git a/Source/core/rendering/RenderInline.cpp b/Source/core/rendering/RenderInline.cpp
|
| index e1501a8af492178a6757f6166143e778f45c9d1f..8252cb081d3536da998ffb121d23cf00e825e55f 100644
|
| --- a/Source/core/rendering/RenderInline.cpp
|
| +++ b/Source/core/rendering/RenderInline.cpp
|
| @@ -991,7 +991,7 @@ LayoutRect RenderInline::linesVisualOverflowBoundingBox() const
|
|
|
| LayoutRect RenderInline::clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidationState* paintInvalidationState) const
|
| {
|
| - if (!firstLineBoxIncludingCulling() && !continuation())
|
| + if ((!firstLineBoxIncludingCulling() && !continuation()) || style()->visibility() != VISIBLE)
|
| return LayoutRect();
|
|
|
| LayoutRect repaintRect(linesVisualOverflowBoundingBox());
|
| @@ -1560,12 +1560,4 @@ void RenderInline::addAnnotatedRegions(Vector<AnnotatedRegionValue>& regions)
|
| regions.append(region);
|
| }
|
|
|
| -void RenderInline::invalidateTreeIfNeeded(const PaintInvalidationState& paintInvalidationState)
|
| -{
|
| - bool establishesNewPaintInvalidationContainer = isPaintInvalidationContainer();
|
| - const RenderLayerModelObject& newPaintInvalidationContainer = *adjustCompositedContainerForSpecialAncestors(establishesNewPaintInvalidationContainer ? this : &paintInvalidationState.paintInvalidationContainer());
|
| - PaintInvalidationState childPaintInvalidationState(paintInvalidationState, *this, newPaintInvalidationContainer);
|
| - RenderObject::invalidateTreeIfNeeded(childPaintInvalidationState);
|
| -}
|
| -
|
| } // namespace blink
|
|
|