Index: Source/core/rendering/svg/RenderSVGContainer.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGContainer.cpp b/Source/core/rendering/svg/RenderSVGContainer.cpp |
index 535942bf6e75ef910a908f25113b4b72b252d5eb..81bb57f405330106181a5ac3d82827b1fdb1c631 100644 |
--- a/Source/core/rendering/svg/RenderSVGContainer.cpp |
+++ b/Source/core/rendering/svg/RenderSVGContainer.cpp |
@@ -111,8 +111,8 @@ void RenderSVGContainer::paint(PaintInfo& paintInfo, const LayoutPoint&) |
if (!firstChild() && !selfWillPaint()) |
return; |
- FloatRect repaintRect = paintInvalidationRectInLocalCoordinates(); |
- if (!SVGRenderSupport::paintInfoIntersectsRepaintRect(repaintRect, localToParentTransform(), paintInfo)) |
+ FloatRect paintInvalidationRect = paintInvalidationRectInLocalCoordinates(); |
+ if (!SVGRenderSupport::paintInfoIntersectsPaintInvalidationRect(paintInvalidationRect, localToParentTransform(), paintInfo)) |
return; |
PaintInfo childPaintInfo(paintInfo); |
@@ -148,7 +148,7 @@ void RenderSVGContainer::paint(PaintInfo& paintInfo, const LayoutPoint&) |
// FIXME: This means our focus ring won't share our rotation like it should. |
// We should instead disable our clip during PaintPhaseOutline |
if (paintInfo.phase == PaintPhaseForeground && style()->outlineWidth() && style()->visibility() == VISIBLE) { |
- IntRect paintRectInParent = enclosingIntRect(localToParentTransform().mapRect(repaintRect)); |
+ IntRect paintRectInParent = enclosingIntRect(localToParentTransform().mapRect(paintInvalidationRect)); |
paintOutline(paintInfo, paintRectInParent); |
} |
} |
@@ -163,8 +163,8 @@ void RenderSVGContainer::addFocusRingRects(Vector<IntRect>& rects, const LayoutP |
void RenderSVGContainer::updateCachedBoundaries() |
{ |
- SVGRenderSupport::computeContainerBoundingBoxes(this, m_objectBoundingBox, m_objectBoundingBoxValid, m_strokeBoundingBox, m_repaintBoundingBox); |
- SVGRenderSupport::intersectRepaintRectWithResources(this, m_repaintBoundingBox); |
+ SVGRenderSupport::computeContainerBoundingBoxes(this, m_objectBoundingBox, m_objectBoundingBoxValid, m_strokeBoundingBox, m_paintInvalidationBoundingBox); |
+ SVGRenderSupport::intersectPaintInvalidationRectWithResources(this, m_paintInvalidationBoundingBox); |
} |
bool RenderSVGContainer::nodeAtFloatPoint(const HitTestRequest& request, HitTestResult& result, const FloatPoint& pointInParent, HitTestAction hitTestAction) |