| Index: Source/core/animation/AnimatableColor.cpp
|
| diff --git a/Source/core/animation/AnimatableColor.cpp b/Source/core/animation/AnimatableColor.cpp
|
| index 011e77e27b8da886219293f6d21e76843fd1624e..0e3e5ed16612e43b572bcf2ab0f7f7a9a0c731ae 100644
|
| --- a/Source/core/animation/AnimatableColor.cpp
|
| +++ b/Source/core/animation/AnimatableColor.cpp
|
| @@ -100,19 +100,19 @@ double AnimatableColorImpl::distanceTo(const AnimatableColorImpl& other) const
|
| + square(m_alpha - other.m_alpha));
|
| }
|
|
|
| -PassRefPtr<AnimatableColor> AnimatableColor::create(const AnimatableColorImpl& color, const AnimatableColorImpl& visitedLinkColor)
|
| +PassRefPtrWillBeRawPtr<AnimatableColor> AnimatableColor::create(const AnimatableColorImpl& color, const AnimatableColorImpl& visitedLinkColor)
|
| {
|
| - return adoptRef(new AnimatableColor(color, visitedLinkColor));
|
| + return adoptRefWillBeNoop(new AnimatableColor(color, visitedLinkColor));
|
| }
|
|
|
| -PassRefPtr<AnimatableValue> AnimatableColor::interpolateTo(const AnimatableValue* value, double fraction) const
|
| +PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableColor::interpolateTo(const AnimatableValue* value, double fraction) const
|
| {
|
| const AnimatableColor* color = toAnimatableColor(value);
|
| return create(m_color.interpolateTo(color->m_color, fraction),
|
| m_visitedLinkColor.interpolateTo(color->m_visitedLinkColor, fraction));
|
| }
|
|
|
| -PassRefPtr<AnimatableValue> AnimatableColor::addWith(const AnimatableValue* value) const
|
| +PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableColor::addWith(const AnimatableValue* value) const
|
| {
|
| const AnimatableColor* color = toAnimatableColor(value);
|
| return create(m_color.addWith(color->m_color),
|
| @@ -131,4 +131,9 @@ double AnimatableColor::distanceTo(const AnimatableValue* value) const
|
| return m_color.distanceTo(color->m_color);
|
| }
|
|
|
| +void AnimatableColor::trace(Visitor* visitor)
|
| +{
|
| + AnimatableValue::trace(visitor);
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|