Index: Source/core/rendering/svg/RenderSVGBlock.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGBlock.cpp b/Source/core/rendering/svg/RenderSVGBlock.cpp |
index ee52a9fd16e91d08d8f3d47f624da703658db031..8eddc1f1e6fbec482596b9d1e66e6df48f4dd4da 100644 |
--- a/Source/core/rendering/svg/RenderSVGBlock.cpp |
+++ b/Source/core/rendering/svg/RenderSVGBlock.cpp |
@@ -86,9 +86,9 @@ void RenderSVGBlock::styleDidChange(StyleDifference diff, const RenderStyle* old |
SVGResourcesCache::clientStyleChanged(this, diff, style()); |
} |
-void RenderSVGBlock::mapLocalToContainer(const RenderLayerModelObject* repaintContainer, TransformState& transformState, MapCoordinatesFlags, bool* wasFixed, const PaintInvalidationState* paintInvalidationState) const |
+void RenderSVGBlock::mapLocalToContainer(const RenderLayerModelObject* repaintContainer, TransformState& transformState, MapCoordinatesFlags, bool* wasFixed) const |
{ |
- SVGRenderSupport::mapLocalToContainer(this, repaintContainer, transformState, wasFixed, paintInvalidationState); |
+ SVGRenderSupport::mapLocalToContainer(this, repaintContainer, transformState, wasFixed); |
} |
const RenderObject* RenderSVGBlock::pushMappingToContainer(const RenderLayerModelObject* ancestorToStopAt, RenderGeometryMap& geometryMap) const |
@@ -96,14 +96,14 @@ const RenderObject* RenderSVGBlock::pushMappingToContainer(const RenderLayerMode |
return SVGRenderSupport::pushMappingToContainer(this, ancestorToStopAt, geometryMap); |
} |
-LayoutRect RenderSVGBlock::clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidationState* paintInvalidationState) const |
+LayoutRect RenderSVGBlock::clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer) const |
{ |
- return SVGRenderSupport::clippedOverflowRectForRepaint(this, paintInvalidationContainer, paintInvalidationState); |
+ return SVGRenderSupport::clippedOverflowRectForRepaint(this, paintInvalidationContainer); |
} |
-void RenderSVGBlock::computeFloatRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, FloatRect& paintInvalidationRect, bool fixed, const PaintInvalidationState* paintInvalidationState) const |
+void RenderSVGBlock::computeFloatRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, FloatRect& paintInvalidationRect, bool fixed) const |
{ |
- SVGRenderSupport::computeFloatRectForRepaint(this, paintInvalidationContainer, paintInvalidationRect, fixed, paintInvalidationState); |
+ SVGRenderSupport::computeFloatRectForRepaint(this, paintInvalidationContainer, paintInvalidationRect, fixed); |
} |
bool RenderSVGBlock::nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation&, const LayoutPoint&, HitTestAction) |
@@ -112,13 +112,13 @@ bool RenderSVGBlock::nodeAtPoint(const HitTestRequest&, HitTestResult&, const Hi |
return false; |
} |
-void RenderSVGBlock::invalidateTreeAfterLayout(const PaintInvalidationState& paintInvalidationState) |
+void RenderSVGBlock::invalidateTreeAfterLayout(const RenderLayerModelObject& paintInvalidationContainer) |
{ |
if (!shouldCheckForPaintInvalidationAfterLayout()) |
return; |
- ForceHorriblySlowRectMapping slowRectMapping(&paintInvalidationState); |
- RenderBlockFlow::invalidateTreeAfterLayout(paintInvalidationState); |
+ ForceHorriblySlowRectMapping slowRectMapping(*this); |
+ RenderBlockFlow::invalidateTreeAfterLayout(paintInvalidationContainer); |
} |
} |