Commit 432edab8 authored by haraken@chromium.org's avatar haraken@chromium.org

Oilpan: Follow-up fix after r201698

r201698 forgot to change one RefPtrWillBeRawPtr<AnimatableColor> to RefPtr<AnimatableColor>.
This caused a couple of crashes in oilpan builds.

http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20Oilpan%20%28dbg%29/builds/3869

BUG=
TBR=sigbjornf@opera.com

Review URL: https://codereview.chromium.org/1302233010 .

git-svn-id: svn://svn.chromium.org/blink/trunk@201717 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 52a2f5a0
......@@ -46,7 +46,7 @@ PassRefPtr<AnimatableValue> AnimatableSVGPaint::interpolateTo(const AnimatableVa
return defaultInterpolateTo(this, value, fraction);
const AnimatableSVGPaint* svgPaint = toAnimatableSVGPaint(value);
RefPtrWillBeRawPtr<AnimatableColor> color = toAnimatableColor(AnimatableValue::interpolate(m_color.get(), svgPaint->m_color.get(), fraction).get());
RefPtr<AnimatableColor> color = toAnimatableColor(AnimatableValue::interpolate(m_color.get(), svgPaint->m_color.get(), fraction).get());
if (fraction < 0.5)
return create(paintType(), visitedLinkPaintType(), color, uri(), visitedLinkURI());
return create(svgPaint->paintType(), svgPaint->visitedLinkPaintType(), color, svgPaint->uri(), svgPaint->visitedLinkURI());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment