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

Unified Diff: Source/core/animation/IntegerSVGInterpolation.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/IntegerSVGInterpolation.h
diff --git a/Source/core/animation/IntegerSVGInterpolation.h b/Source/core/animation/IntegerSVGInterpolation.h
index 53187e8e383f5aff7f29d62aac3e115a2d810218..be3e1d58ae7985ad48648bbd09d8e3d9dc5f523b 100644
--- a/Source/core/animation/IntegerSVGInterpolation.h
+++ b/Source/core/animation/IntegerSVGInterpolation.h
@@ -12,9 +12,9 @@ namespace blink {
class IntegerSVGInterpolation : public SVGInterpolation {
public:
- static PassRefPtrWillBeRawPtr<IntegerSVGInterpolation> create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
+ static PassRefPtr<IntegerSVGInterpolation> create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
{
- return adoptRefWillBeNoop(new IntegerSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute));
+ return adoptRef(new IntegerSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute));
}
PassRefPtrWillBeRawPtr<SVGPropertyBase> interpolatedValue(SVGElement&) const final
@@ -22,18 +22,13 @@ public:
return fromInterpolableValue(*m_cachedValue);
}
- DEFINE_INLINE_VIRTUAL_TRACE()
- {
- SVGInterpolation::trace(visitor);
- }
-
private:
- IntegerSVGInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
+ IntegerSVGInterpolation(PassOwnPtr<InterpolableValue> start, PassOwnPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
: SVGInterpolation(start, end, attribute)
{
}
- static PassOwnPtrWillBeRawPtr<InterpolableValue> toInterpolableValue(SVGPropertyBase* value)
+ static PassOwnPtr<InterpolableValue> toInterpolableValue(SVGPropertyBase* value)
{
return InterpolableNumber::create(toSVGInteger(value)->value());
}

Powered by Google App Engine
This is Rietveld 408576698