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

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

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.h
diff --git a/Source/core/animation/InterpolableValue.h b/Source/core/animation/InterpolableValue.h
index f702bc6cabf77304ebda4bbda1475bc5d904f9a7..f287082a93a18f469adf30b5fe7da18db0d3cc2d 100644
--- a/Source/core/animation/InterpolableValue.h
+++ b/Source/core/animation/InterpolableValue.h
@@ -23,7 +23,7 @@ public:
virtual PassOwnPtrWillBeRawPtr<InterpolableValue> clone() const = 0;
- virtual void trace(Visitor*) { }
+ DEFINE_INLINE_VIRTUAL_TRACE() { }
private:
virtual void interpolate(const InterpolableValue& to, const double progress, InterpolableValue& result) const = 0;
@@ -116,7 +116,7 @@ public:
size_t length() const { return m_size; }
virtual PassOwnPtrWillBeRawPtr<InterpolableValue> clone() const override final { return create(*this); }
- virtual void trace(Visitor*) override;
+ DECLARE_VIRTUAL_TRACE();
private:
virtual void interpolate(const InterpolableValue& to, const double progress, InterpolableValue& result) const override final;
@@ -152,7 +152,7 @@ public:
AnimatableValue* value() const { return m_value.get(); }
virtual PassOwnPtrWillBeRawPtr<InterpolableValue> clone() const override final { return create(m_value); }
- virtual void trace(Visitor*) override;
+ DECLARE_VIRTUAL_TRACE();
private:
virtual void interpolate(const InterpolableValue &to, const double progress, InterpolableValue& result) const override final;

Powered by Google App Engine
This is Rietveld 408576698