diff options
Diffstat (limited to 'WebCore/svg/graphics/cg/SVGPaintServerGradientCg.cpp')
-rw-r--r-- | WebCore/svg/graphics/cg/SVGPaintServerGradientCg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/svg/graphics/cg/SVGPaintServerGradientCg.cpp b/WebCore/svg/graphics/cg/SVGPaintServerGradientCg.cpp index 4d41d88..d1ab090 100644 --- a/WebCore/svg/graphics/cg/SVGPaintServerGradientCg.cpp +++ b/WebCore/svg/graphics/cg/SVGPaintServerGradientCg.cpp @@ -138,7 +138,7 @@ static CGShadingRef CGShadingRefForRadialGradient(const SVGPaintServerRadialGrad void SVGPaintServerGradient::updateQuartzGradientStopsCache(const Vector<SVGGradientStop>& stops) { - m_stopsCache = SharedStopCache::create(); + m_stopsCache = new SharedStopCache; Vector<QuartzGradientStop>& stopsCache = m_stopsCache->m_stops; stopsCache.resize(stops.size()); CGFloat previousOffset = 0.0f; |