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

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

Issue 204743002: Oilpan: Move AnimatableValue's hierarchy 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
Index: Source/core/animation/AnimatableStrokeDasharrayList.h
diff --git a/Source/core/animation/AnimatableStrokeDasharrayList.h b/Source/core/animation/AnimatableStrokeDasharrayList.h
index 5c564f80b46620005481e207f4a37a414bb02c6d..c7f5d8fafd79e7527dec0aee108cfc6689ffabed 100644
--- a/Source/core/animation/AnimatableStrokeDasharrayList.h
+++ b/Source/core/animation/AnimatableStrokeDasharrayList.h
@@ -40,21 +40,23 @@ class AnimatableStrokeDasharrayList FINAL : public AnimatableRepeatable {
public:
virtual ~AnimatableStrokeDasharrayList() { }
- static PassRefPtr<AnimatableStrokeDasharrayList> create(PassRefPtr<SVGLengthList> lengths)
+ static PassRefPtrWillBeRawPtr<AnimatableStrokeDasharrayList> create(PassRefPtr<SVGLengthList> lengths)
{
- return adoptRef(new AnimatableStrokeDasharrayList(lengths));
+ return adoptRefWillBeNoop(new AnimatableStrokeDasharrayList(lengths));
}
PassRefPtr<SVGLengthList> toSVGLengthList() const;
+ virtual void trace(Visitor*) OVERRIDE;
+
protected:
- virtual PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
+ virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const OVERRIDE;
private:
AnimatableStrokeDasharrayList(PassRefPtr<SVGLengthList>);
// This will consume the vector passed into it.
- AnimatableStrokeDasharrayList(Vector<RefPtr<AnimatableValue> >& values)
+ AnimatableStrokeDasharrayList(WillBeHeapVector<RefPtrWillBeMember<AnimatableValue> >& values)
: AnimatableRepeatable(values)
{
}
« no previous file with comments | « Source/core/animation/AnimatableShapeValue.cpp ('k') | Source/core/animation/AnimatableStrokeDasharrayList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698