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

Unified Diff: Source/core/animation/AnimatableSVGPaint.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
« no previous file with comments | « Source/core/animation/AnimatableSVGLength.cpp ('k') | Source/core/animation/AnimatableSVGPaint.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimatableSVGPaint.h
diff --git a/Source/core/animation/AnimatableSVGPaint.h b/Source/core/animation/AnimatableSVGPaint.h
index 939b888371b86ac2a20c1cfece229c497bb86a75..9626cafe8b7ec1def05262517ece686664080e60 100644
--- a/Source/core/animation/AnimatableSVGPaint.h
+++ b/Source/core/animation/AnimatableSVGPaint.h
@@ -40,21 +40,23 @@ namespace WebCore {
class AnimatableSVGPaint FINAL : public AnimatableValue {
public:
virtual ~AnimatableSVGPaint() { }
- static PassRefPtr<AnimatableSVGPaint> create(SVGPaint::SVGPaintType type, const Color& color, const String& uri)
+ static PassRefPtrWillBeRawPtr<AnimatableSVGPaint> create(SVGPaint::SVGPaintType type, const Color& color, const String& uri)
{
return create(type, AnimatableColorImpl(color), uri);
}
- static PassRefPtr<AnimatableSVGPaint> create(SVGPaint::SVGPaintType type, const AnimatableColorImpl& color, const String& uri)
+ static PassRefPtrWillBeRawPtr<AnimatableSVGPaint> create(SVGPaint::SVGPaintType type, const AnimatableColorImpl& color, const String& uri)
{
- return adoptRef(new AnimatableSVGPaint(type, color, uri));
+ return adoptRefWillBeNoop(new AnimatableSVGPaint(type, color, uri));
}
SVGPaint::SVGPaintType paintType() const { return m_type; };
Color color() const { return m_color.toColor(); };
const String& uri() const { return m_uri; };
+ virtual void trace(Visitor*) OVERRIDE { }
+
protected:
- virtual PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
- virtual PassRefPtr<AnimatableValue> addWith(const AnimatableValue*) const OVERRIDE;
+ virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
+ virtual PassRefPtrWillBeRawPtr<AnimatableValue> addWith(const AnimatableValue*) const OVERRIDE;
virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const OVERRIDE;
private:
« no previous file with comments | « Source/core/animation/AnimatableSVGLength.cpp ('k') | Source/core/animation/AnimatableSVGPaint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698