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

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

Issue 210823003: Move InterpolationEffect to oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | Source/core/animation/InterpolationEffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/InterpolationEffect.h
diff --git a/Source/core/animation/InterpolationEffect.h b/Source/core/animation/InterpolationEffect.h
index ec7e70ae625dac0e4ac850bf7c68c8fd621bb2e8..4c7c2b759e8f437633c29224a94469855e4493fa 100644
--- a/Source/core/animation/InterpolationEffect.h
+++ b/Source/core/animation/InterpolationEffect.h
@@ -12,9 +12,9 @@
namespace WebCore {
-class InterpolationEffect : public RefCounted<InterpolationEffect> {
+class InterpolationEffect : public RefCountedWillBeGarbageCollected<InterpolationEffect> {
public:
- static PassRefPtr<InterpolationEffect> create() { return adoptRef(new InterpolationEffect()); }
+ static PassRefPtrWillBeRawPtr<InterpolationEffect> create() { return adoptRefWillBeNoop(new InterpolationEffect()); }
PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > getActiveInterpolations(double fraction, double iterationDuration) const;
@@ -23,6 +23,8 @@ public:
m_interpolations.append(InterpolationRecord::create(interpolation, easing, start, end, applyFrom, applyTo));
}
+ void trace(Visitor*);
+
private:
InterpolationEffect()
{
@@ -56,7 +58,7 @@ private:
}
};
- WillBePersistentHeapVector<OwnPtrWillBeMember<InterpolationRecord> > m_interpolations;
+ WillBeHeapVector<OwnPtrWillBeMember<InterpolationRecord> > m_interpolations;
};
}
« no previous file with comments | « no previous file | Source/core/animation/InterpolationEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698