Index: Source/core/svg/SVGSVGElement.cpp |
diff --git a/Source/core/svg/SVGSVGElement.cpp b/Source/core/svg/SVGSVGElement.cpp |
index 5859c2a4754b50a3ce5b2ac0e25c9da4902b73a6..73590d7f63508a15cde253c9331702330aba6295 100644 |
--- a/Source/core/svg/SVGSVGElement.cpp |
+++ b/Source/core/svg/SVGSVGElement.cpp |
@@ -208,7 +208,7 @@ void SVGSVGElement::setCurrentTranslate(const FloatPoint& point) |
void SVGSVGElement::updateCurrentTranslate() |
{ |
if (RenderObject* object = renderer()) |
- object->setNeedsLayoutAndFullRepaint(); |
+ object->setNeedsLayoutAndFullPaintInvalidation(); |
} |
void SVGSVGElement::parseAttribute(const QualifiedName& name, const AtomicString& value) |
@@ -357,7 +357,7 @@ bool SVGSVGElement::checkIntersectionOrEnclosure(const SVGElement& element, cons |
return false; |
AffineTransform ctm = toSVGGraphicsElement(element).computeCTM(AncestorScope, DisallowStyleUpdate, this); |
- FloatRect mappedRepaintRect = ctm.mapRect(renderer->repaintRectInLocalCoordinates()); |
+ FloatRect mappedRepaintRect = ctm.mapRect(renderer->paintInvalidationRectInLocalCoordinates()); |
bool result = false; |
switch (mode) { |