Index: Source/core/rendering/svg/SVGRenderingContext.cpp |
diff --git a/Source/core/rendering/svg/SVGRenderingContext.cpp b/Source/core/rendering/svg/SVGRenderingContext.cpp |
index ed56f41885e5c9c7b5d8bcea400e629dfd658343..89aceefd3866d6a308802efded90868505499e27 100644 |
--- a/Source/core/rendering/svg/SVGRenderingContext.cpp |
+++ b/Source/core/rendering/svg/SVGRenderingContext.cpp |
@@ -64,7 +64,7 @@ SVGRenderingContext::~SVGRenderingContext() |
ASSERT(SVGResourcesCache::cachedResourcesForRenderObject(m_object)->filter() == m_filter); |
m_filter->postApplyResource(m_object, m_paintInfo->context, ApplyToDefaultMode, 0, 0); |
m_paintInfo->context = m_savedContext; |
- m_paintInfo->setRect(m_savedPaintRect); |
+ m_paintInfo->rect = m_savedPaintRect; |
} |
if (m_clipper) { |
@@ -168,7 +168,7 @@ void SVGRenderingContext::prepareToRenderSVGContent(RenderObject* object, PaintI |
m_filter = resources->filter(); |
if (m_filter) { |
m_savedContext = m_paintInfo->context; |
- m_savedPaintRect = m_paintInfo->rect(); |
+ m_savedPaintRect = m_paintInfo->rect; |
// Return with false here may mean that we don't need to draw the content |
// (because it was either drawn before or empty) but we still need to apply the filter. |
m_renderingFlags |= PostApplyResources; |
@@ -179,7 +179,7 @@ void SVGRenderingContext::prepareToRenderSVGContent(RenderObject* object, PaintI |
// 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. |
- m_paintInfo->setRect(IntRect(m_filter->drawingRegion(m_object))); |
+ m_paintInfo->rect = IntRect(m_filter->drawingRegion(m_object)); |
} |
} |