Index: Source/core/rendering/RenderText.cpp |
diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp |
index 156a2944343ff133c32f58ba96fbf263de87c2ab..c8348721d533f66fa0d2f2d15ad0eff30f592fe8 100644 |
--- a/Source/core/rendering/RenderText.cpp |
+++ b/Source/core/rendering/RenderText.cpp |
@@ -1569,7 +1569,7 @@ LayoutRect RenderText::linesVisualOverflowBoundingBox() const |
return rect; |
} |
-LayoutRect RenderText::clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer) const |
+LayoutRect RenderText::clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, const InvalidationTreeWalkState* invalidationTreeWalkState) const |
{ |
RenderObject* rendererToRepaint = containingBlock(); |
@@ -1580,9 +1580,9 @@ LayoutRect RenderText::clippedOverflowRectForPaintInvalidation(const RenderLayer |
// The renderer we chose to repaint may be an ancestor of paintInvalidationContainer, but we need to do a paintInvalidationContainer-relative repaint. |
if (paintInvalidationContainer && paintInvalidationContainer != rendererToRepaint && !rendererToRepaint->isDescendantOf(paintInvalidationContainer)) |
- return paintInvalidationContainer->clippedOverflowRectForPaintInvalidation(paintInvalidationContainer); |
+ return paintInvalidationContainer->clippedOverflowRectForPaintInvalidation(paintInvalidationContainer, invalidationTreeWalkState); |
- return rendererToRepaint->clippedOverflowRectForPaintInvalidation(paintInvalidationContainer); |
+ return rendererToRepaint->clippedOverflowRectForPaintInvalidation(paintInvalidationContainer, invalidationTreeWalkState); |
} |
LayoutRect RenderText::selectionRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, bool clipToVisibleContent) |