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

Unified Diff: Source/core/animation/RectSVGInterpolation.cpp

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/RectSVGInterpolation.h ('k') | Source/core/animation/SVGInterpolation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/RectSVGInterpolation.cpp
diff --git a/Source/core/animation/RectSVGInterpolation.cpp b/Source/core/animation/RectSVGInterpolation.cpp
index 94f92befa78c50da50a7647cc395eb6ab59b6641..5159c1691e3a7a226c5cefb58058068e4c7e9fdc 100644
--- a/Source/core/animation/RectSVGInterpolation.cpp
+++ b/Source/core/animation/RectSVGInterpolation.cpp
@@ -9,15 +9,15 @@
namespace blink {
-PassOwnPtrWillBeRawPtr<InterpolableValue> RectSVGInterpolation::toInterpolableValue(SVGPropertyBase* value)
+InterpolableValue* RectSVGInterpolation::toInterpolableValue(SVGPropertyBase* value)
{
RefPtrWillBeRawPtr<SVGRect> rect = toSVGRect(value);
float element[] = { rect->x(), rect->y(), rect->width(), rect->height() };
- OwnPtrWillBeRawPtr<InterpolableList> result = InterpolableList::create(WTF_ARRAY_LENGTH(element));
+ InterpolableList* result = InterpolableList::create(WTF_ARRAY_LENGTH(element));
for (size_t i = 0; i < WTF_ARRAY_LENGTH(element); i++) {
result->set(i, InterpolableNumber::create(element[i]));
}
- return result.release();
+ return result;
}
PassRefPtrWillBeRawPtr<SVGRect> RectSVGInterpolation::fromInterpolableValue(const InterpolableValue& value)
« no previous file with comments | « Source/core/animation/RectSVGInterpolation.h ('k') | Source/core/animation/SVGInterpolation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698