Index: Source/core/animation/Interpolation.cpp |
diff --git a/Source/core/animation/Interpolation.cpp b/Source/core/animation/Interpolation.cpp |
index 4ceda726ea4a40398126d44d1fcc976f9e6e8524..e812e889d520cd0dd2728e5dbe4021959eefe5c6 100644 |
--- a/Source/core/animation/Interpolation.cpp |
+++ b/Source/core/animation/Interpolation.cpp |
@@ -10,6 +10,8 @@ |
namespace WebCore { |
+DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(Interpolation); |
+ |
namespace { |
bool typesMatch(const InterpolableValue* start, const InterpolableValue* end) |
@@ -35,7 +37,7 @@ bool typesMatch(const InterpolableValue* start, const InterpolableValue* end) |
} |
-Interpolation::Interpolation(PassOwnPtr<InterpolableValue> start, PassOwnPtr<InterpolableValue> end) |
+Interpolation::Interpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end) |
: m_start(start) |
, m_end(end) |
, m_cachedFraction(0) |
@@ -54,6 +56,13 @@ void Interpolation::interpolate(int iteration, double fraction) const |
} |
} |
+void Interpolation::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_start); |
+ visitor->trace(m_end); |
+ visitor->trace(m_cachedValue); |
+} |
+ |
void StyleInterpolation::trace(Visitor* visitor) |
{ |
Interpolation::trace(visitor); |