Index: Source/core/paint/SVGPaintContext.cpp |
diff --git a/Source/core/paint/SVGPaintContext.cpp b/Source/core/paint/SVGPaintContext.cpp |
index 598f551ff062e7ed1954482c1416a9caca3a57d3..e3c3d635ad23c60e61c1027afe70fa510208f958 100644 |
--- a/Source/core/paint/SVGPaintContext.cpp |
+++ b/Source/core/paint/SVGPaintContext.cpp |
@@ -47,7 +47,7 @@ SVGPaintContext::~SVGPaintContext() |
LayoutObjectDrawingRecorder recorder(m_originalPaintInfo->context, *m_object, DisplayItem::SVGFilter, LayoutRect::infiniteIntRect()); |
if (!recorder.canUseCachedDrawing()) |
- SVGFilterPainter(*m_filter).finishEffect(m_object, m_originalPaintInfo->context); |
+ SVGFilterPainter(*m_filter).finishEffect(*m_object, m_originalPaintInfo->context); |
// Reset the paint info after the filter effect has been completed. |
// This isn't strictly required (e.g., m_paintInfo.rect is not used |
@@ -160,7 +160,7 @@ bool SVGPaintContext::applyFilterIfNecessary(SVGResources* resources) |
return false; |
} else if (LayoutSVGResourceFilter* filter = resources->filter()) { |
m_filter = filter; |
- GraphicsContext* filterContext = SVGFilterPainter(*filter).prepareEffect(m_object, m_paintInfo.context); |
+ GraphicsContext* filterContext = SVGFilterPainter(*filter).prepareEffect(*m_object, m_paintInfo.context); |
if (!filterContext) |
return false; |