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

Unified Diff: Source/core/animation/PointSVGInterpolation.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 | « Source/core/animation/PathSVGInterpolation.cpp ('k') | Source/core/animation/PrimitiveInterpolation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/PointSVGInterpolation.h
diff --git a/Source/core/animation/PointSVGInterpolation.h b/Source/core/animation/PointSVGInterpolation.h
index 0fddc78a70bb2fe582c318c6c16bc67f90766be4..c5c2dd6b5b7a87f588ae34b038c1c0502601e9f1 100644
--- a/Source/core/animation/PointSVGInterpolation.h
+++ b/Source/core/animation/PointSVGInterpolation.h
@@ -17,12 +17,12 @@ public:
typedef SVGPointList ListType;
typedef void NonInterpolableType;
- static PassOwnPtrWillBeRawPtr<InterpolableList> toInterpolableValue(SVGPropertyBase* item)
+ static InterpolableList* toInterpolableValue(SVGPropertyBase* item)
{
- OwnPtrWillBeRawPtr<InterpolableList> result = InterpolableList::create(2);
+ InterpolableList* result = InterpolableList::create(2);
result->set(0, InterpolableNumber::create(toSVGPoint(item)->x()));
result->set(1, InterpolableNumber::create(toSVGPoint(item)->y()));
- return result.release();
+ return result;
}
static PassRefPtrWillBeRawPtr<SVGPoint> fromInterpolableValue(const InterpolableValue& value)
« no previous file with comments | « Source/core/animation/PathSVGInterpolation.cpp ('k') | Source/core/animation/PrimitiveInterpolation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698