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

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

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 years, 1 month 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/animatable/AnimatableStrokeDasharrayList.h
diff --git a/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h b/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h
index 3cb9f109b4c04a262e25a0f6e4dd4b2252c27cb1..9d7ecb25ebfad216849caa1dab2379ffc004f902 100644
--- a/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h
+++ b/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h
@@ -40,12 +40,12 @@ class AnimatableStrokeDasharrayList final : public AnimatableRepeatable {
public:
virtual ~AnimatableStrokeDasharrayList() { }
- static PassRefPtrWillBeRawPtr<AnimatableStrokeDasharrayList> create(PassRefPtr<SVGLengthList> lengths)
+ static PassRefPtrWillBeRawPtr<AnimatableStrokeDasharrayList> create(PassRefPtrWillBeRawPtr<SVGLengthList> lengths)
{
return adoptRefWillBeNoop(new AnimatableStrokeDasharrayList(lengths));
}
- PassRefPtr<SVGLengthList> toSVGLengthList() const;
+ PassRefPtrWillBeRawPtr<SVGLengthList> toSVGLengthList() const;
virtual void trace(Visitor*) override;
@@ -54,7 +54,7 @@ protected:
virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
private:
- AnimatableStrokeDasharrayList(PassRefPtr<SVGLengthList>);
+ explicit AnimatableStrokeDasharrayList(PassRefPtrWillBeRawPtr<SVGLengthList>);
// This will consume the vector passed into it.
AnimatableStrokeDasharrayList(WillBeHeapVector<RefPtrWillBeMember<AnimatableValue> >& values)
: AnimatableRepeatable(values)

Powered by Google App Engine
This is Rietveld 408576698