Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Unified Diff: Source/core/animation/InterpolableValue.cpp

Issue 926963003: InlinedVisitor: Migrate animation to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/animation/InterpolableValue.cpp
diff --git a/Source/core/animation/InterpolableValue.cpp b/Source/core/animation/InterpolableValue.cpp
index 8ed73869cc6d67ddbe2e158994f481ae13609052..63b120366cd4339c6206c2f41a1c3e2c76267781 100644
--- a/Source/core/animation/InterpolableValue.cpp
+++ b/Source/core/animation/InterpolableValue.cpp
@@ -98,7 +98,7 @@ void InterpolableList::multiply(double scalar, InterpolableValue& result) const
}
}
-void InterpolableList::trace(Visitor* visitor)
+DEFINE_TRACE(InterpolableList)
{
visitor->trace(m_values);
InterpolableValue::trace(visitor);
@@ -115,7 +115,7 @@ void InterpolableAnimatableValue::interpolate(const InterpolableValue& to, const
resultValue.m_value = AnimatableValue::interpolate(m_value.get(), toValue.m_value.get(), progress);
}
-void InterpolableAnimatableValue::trace(Visitor* visitor)
+DEFINE_TRACE(InterpolableAnimatableValue)
{
visitor->trace(m_value);
InterpolableValue::trace(visitor);

Powered by Google App Engine
This is Rietveld 408576698