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

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

Issue 1276183004: Oilpan: Unship oilpan from temporary animation objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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/DefaultSVGInterpolation.h
diff --git a/Source/core/animation/DefaultSVGInterpolation.h b/Source/core/animation/DefaultSVGInterpolation.h
index 96836eafbe9849219f8c3663185f6c589218d207..4999678c8fd0b830e097db80ed0f8d41404e8679 100644
--- a/Source/core/animation/DefaultSVGInterpolation.h
+++ b/Source/core/animation/DefaultSVGInterpolation.h
@@ -11,20 +11,18 @@ namespace blink {
class DefaultSVGInterpolation : public SVGInterpolation {
public:
- static PassRefPtrWillBeRawPtr<DefaultSVGInterpolation> create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
+ static PassRefPtr<DefaultSVGInterpolation> create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
{
- return adoptRefWillBeNoop(new DefaultSVGInterpolation(start, end, attribute));
+ return adoptRef(new DefaultSVGInterpolation(start, end, attribute));
}
PassRefPtrWillBeRawPtr<SVGPropertyBase> interpolatedValue(SVGElement&) const final;
- DECLARE_VIRTUAL_TRACE();
-
private:
DefaultSVGInterpolation(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute);
- RefPtrWillBeMember<SVGPropertyBase> m_start;
- RefPtrWillBeMember<SVGPropertyBase> m_end;
+ RefPtrWillBePersistent<SVGPropertyBase> m_start;
+ RefPtrWillBePersistent<SVGPropertyBase> m_end;
};
}

Powered by Google App Engine
This is Rietveld 408576698