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

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

Issue 1120003002: [Oilpan] Migrate most classes under core/animations to Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 4 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 | « no previous file | Source/core/animation/Animation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AngleSVGInterpolation.h
diff --git a/Source/core/animation/AngleSVGInterpolation.h b/Source/core/animation/AngleSVGInterpolation.h
index a4c8f8ca095d3b76e1bf5828913379b469bd9bc4..e0ce18137144d3a7c7f07671540b1e9d5edbe69f 100644
--- a/Source/core/animation/AngleSVGInterpolation.h
+++ b/Source/core/animation/AngleSVGInterpolation.h
@@ -14,9 +14,9 @@ class SVGInteger;
class AngleSVGInterpolation : public SVGInterpolation {
public:
- static PassRefPtrWillBeRawPtr<AngleSVGInterpolation> create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
+ static AngleSVGInterpolation* create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
{
- return adoptRefWillBeNoop(new AngleSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute));
+ return new AngleSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute);
}
static bool canCreateFrom(SVGPropertyBase* value)
@@ -26,7 +26,7 @@ public:
PassRefPtrWillBeRawPtr<SVGPropertyBase> interpolatedValue(SVGElement&) const final
{
- return fromInterpolableValue(m_cachedValue.get());
+ return fromInterpolableValue(m_cachedValue);
}
DEFINE_INLINE_VIRTUAL_TRACE()
@@ -35,12 +35,12 @@ public:
}
private:
- AngleSVGInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
+ AngleSVGInterpolation(InterpolableValue* start, InterpolableValue* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
: SVGInterpolation(start, end, attribute)
{
}
- static PassOwnPtrWillBeRawPtr<InterpolableValue> toInterpolableValue(SVGPropertyBase* value)
+ static InterpolableValue* toInterpolableValue(SVGPropertyBase* value)
{
return InterpolableNumber::create(toSVGAngle(value)->value());
}
« no previous file with comments | « no previous file | Source/core/animation/Animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698