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