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

Unified Diff: Source/core/animation/AnimatableShapeValue.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/AnimatableShapeValue.h
diff --git a/Source/core/animation/AnimatableShapeValue.h b/Source/core/animation/AnimatableShapeValue.h
index 99246937ee921c042d5b89b0ecff1e728b0287c7..4603554a5833f62c87381012d1282457c1132bee 100644
--- a/Source/core/animation/AnimatableShapeValue.h
+++ b/Source/core/animation/AnimatableShapeValue.h
@@ -39,14 +39,16 @@ namespace WebCore {
class AnimatableShapeValue FINAL : public AnimatableValue {
public:
virtual ~AnimatableShapeValue() { }
- static PassRefPtr<AnimatableShapeValue> create(ShapeValue* shape)
+ static PassRefPtrWillBeRawPtr<AnimatableShapeValue> create(ShapeValue* shape)
{
- return adoptRef(new AnimatableShapeValue(shape));
+ return adoptRefWillBeNoop(new AnimatableShapeValue(shape));
}
ShapeValue* shapeValue() const { return m_shape.get(); }
+ 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:

Powered by Google App Engine
This is Rietveld 408576698