Index: Source/core/rendering/RenderReplaced.cpp |
diff --git a/Source/core/rendering/RenderReplaced.cpp b/Source/core/rendering/RenderReplaced.cpp |
index d5fbc19fb883089ddf32cc1382c30f7bc32cf6f8..7090e1e3ef0fa15b8bc6314881c1ccb7a32d488e 100644 |
--- a/Source/core/rendering/RenderReplaced.cpp |
+++ b/Source/core/rendering/RenderReplaced.cpp |
@@ -563,7 +563,7 @@ bool RenderReplaced::isSelected() const |
ASSERT(0); |
return false; |
} |
-LayoutRect RenderReplaced::clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidationState* paintInvalidationState) const |
+LayoutRect RenderReplaced::clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer) const |
{ |
if (style()->visibility() != VISIBLE && !enclosingLayer()->hasVisibleContent()) |
return LayoutRect(); |
@@ -571,7 +571,7 @@ LayoutRect RenderReplaced::clippedOverflowRectForPaintInvalidation(const RenderL |
// The selectionRect can project outside of the overflowRect, so take their union |
// for repainting to avoid selection painting glitches. |
LayoutRect r = isSelected() ? localSelectionRect() : visualOverflowRect(); |
- mapRectToPaintInvalidationBacking(paintInvalidationContainer, r, false /* fixed */, paintInvalidationState); |
+ mapRectToPaintInvalidationBacking(paintInvalidationContainer, r); |
return r; |
} |