| Index: Source/core/rendering/svg/SVGRenderingContext.cpp
|
| diff --git a/Source/core/rendering/svg/SVGRenderingContext.cpp b/Source/core/rendering/svg/SVGRenderingContext.cpp
|
| index f5e310a8696158782cdefd2fb722904aff6b1d33..9f9114a1733bf80539f02ad58928d94d170ce215 100644
|
| --- a/Source/core/rendering/svg/SVGRenderingContext.cpp
|
| +++ b/Source/core/rendering/svg/SVGRenderingContext.cpp
|
| @@ -118,8 +118,8 @@ void SVGRenderingContext::prepareToRenderSVGContent(RenderObject* object, PaintI
|
| bool hasBlendMode = style->hasBlendMode() && !isRenderingMask;
|
|
|
| if (opacity < 1 || hasBlendMode || style->hasIsolation()) {
|
| - FloatRect repaintRect = m_object->paintInvalidationRectInLocalCoordinates();
|
| - m_paintInfo->context->clip(repaintRect);
|
| + FloatRect paintInvalidationRect = m_object->paintInvalidationRectInLocalCoordinates();
|
| + m_paintInfo->context->clip(paintInvalidationRect);
|
|
|
| if (hasBlendMode) {
|
| if (!(m_renderingFlags & RestoreGraphicsContext)) {
|
| @@ -180,7 +180,7 @@ void SVGRenderingContext::prepareToRenderSVGContent(RenderObject* object, PaintI
|
| if (!m_filter->applyResource(m_object, style, m_paintInfo->context, ApplyToDefaultMode))
|
| return;
|
|
|
| - // Since we're caching the resulting bitmap and do not invalidate it on repaint rect
|
| + // Since we're caching the resulting bitmap and do not invalidate it on paint invalidation rect
|
| // changes, we need to paint the whole filter region. Otherwise, elements not visible
|
| // at the time of the initial paint (due to scrolling, window size, etc.) will never
|
| // be drawn.
|
|
|