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

Unified Diff: Source/core/animation/animatable/AnimatableSVGLength.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/AnimatableSVGLength.h
diff --git a/Source/core/animation/animatable/AnimatableSVGLength.h b/Source/core/animation/animatable/AnimatableSVGLength.h
index 76cbcf3d5ca4827878c4603578d3240ee580cc52..9abcce57d98c47fc9c77c9a45d233affd3dba057 100644
--- a/Source/core/animation/animatable/AnimatableSVGLength.h
+++ b/Source/core/animation/animatable/AnimatableSVGLength.h
@@ -40,7 +40,7 @@ class AnimatableSVGLength final : public AnimatableValue {
public:
virtual ~AnimatableSVGLength() { }
- static PassRefPtrWillBeRawPtr<AnimatableSVGLength> create(PassRefPtr<SVGLength> length)
+ static PassRefPtrWillBeRawPtr<AnimatableSVGLength> create(PassRefPtrWillBeRawPtr<SVGLength> length)
{
return adoptRefWillBeNoop(new AnimatableSVGLength(length));
}
@@ -50,13 +50,13 @@ public:
return m_length.get();
}
- virtual void trace(Visitor* visitor) override { AnimatableValue::trace(visitor); }
+ virtual void trace(Visitor*) override;
protected:
virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
private:
- AnimatableSVGLength(PassRefPtr<SVGLength> length)
+ explicit AnimatableSVGLength(PassRefPtrWillBeRawPtr<SVGLength> length)
: m_length(length)
{
}
@@ -64,7 +64,7 @@ private:
virtual AnimatableType type() const override { return TypeSVGLength; }
virtual bool equalTo(const AnimatableValue*) const override;
- RefPtr<SVGLength> m_length;
+ RefPtrWillBeMember<SVGLength> m_length;
};
DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableSVGLength, isSVGLength());

Powered by Google App Engine
This is Rietveld 408576698