| Index: Source/core/animation/AnimatableSVGPaint.cpp
|
| diff --git a/Source/core/animation/AnimatableSVGPaint.cpp b/Source/core/animation/AnimatableSVGPaint.cpp
|
| index e497ce4b709f36cf00fcccb0d7138685f07a8293..24af9928741a2d03987b640e1d3992ce2e6d966a 100644
|
| --- a/Source/core/animation/AnimatableSVGPaint.cpp
|
| +++ b/Source/core/animation/AnimatableSVGPaint.cpp
|
| @@ -39,7 +39,7 @@ bool AnimatableSVGPaint::usesDefaultInterpolationWith(const AnimatableValue* val
|
| return paintType() != SVGPaint::SVG_PAINTTYPE_RGBCOLOR || svgPaint->paintType() != SVGPaint::SVG_PAINTTYPE_RGBCOLOR;
|
| }
|
|
|
| -PassRefPtr<AnimatableValue> AnimatableSVGPaint::interpolateTo(const AnimatableValue* value, double fraction) const
|
| +PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableSVGPaint::interpolateTo(const AnimatableValue* value, double fraction) const
|
| {
|
| const AnimatableSVGPaint* svgPaint = toAnimatableSVGPaint(value);
|
| if (paintType() == SVGPaint::SVG_PAINTTYPE_RGBCOLOR && svgPaint->paintType() == SVGPaint::SVG_PAINTTYPE_RGBCOLOR) {
|
| @@ -49,7 +49,7 @@ PassRefPtr<AnimatableValue> AnimatableSVGPaint::interpolateTo(const AnimatableVa
|
| return defaultInterpolateTo(this, value, fraction);
|
| }
|
|
|
| -PassRefPtr<AnimatableValue> AnimatableSVGPaint::addWith(const AnimatableValue* value) const
|
| +PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableSVGPaint::addWith(const AnimatableValue* value) const
|
| {
|
| const AnimatableSVGPaint* svgPaint = toAnimatableSVGPaint(value);
|
| if (paintType() != SVGPaint::SVG_PAINTTYPE_RGBCOLOR || svgPaint->paintType() != SVGPaint::SVG_PAINTTYPE_RGBCOLOR) {
|
| @@ -67,4 +67,9 @@ bool AnimatableSVGPaint::equalTo(const AnimatableValue* value) const
|
| && uri() == svgPaint->uri();
|
| }
|
|
|
| +void AnimatableSVGPaint::trace(Visitor* visitor)
|
| +{
|
| + AnimatableValue::trace(visitor);
|
| +}
|
| +
|
| }
|
|
|