Index: third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp |
diff --git a/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp |
index 5920ef5729b26b3a4720827152cbd285ee8f84b4..82ad4bf42e0c1b7c5c8dab76964d0e9238597694 100644 |
--- a/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp |
+++ b/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp |
@@ -226,7 +226,7 @@ PassRefPtr<BasicShape> CreateBasicShape( |
CreateCoordinate(*list.Get(kCircleCenterYIndex), conversion_data)); |
circle->SetRadius( |
CreateRadius(*list.Get(kCircleRadiusIndex), conversion_data)); |
- return circle.Release(); |
+ return circle; |
} |
} // namespace CircleFunctions |
@@ -303,7 +303,7 @@ PassRefPtr<BasicShape> CreateBasicShape( |
CreateRadius(*list.Get(kEllipseRadiusXIndex), conversion_data)); |
ellipse->SetRadiusY( |
CreateRadius(*list.Get(kEllipseRadiusYIndex), conversion_data)); |
- return ellipse.Release(); |
+ return ellipse; |
} |
} // namespace EllipseFunctions |
@@ -442,7 +442,7 @@ PassRefPtr<BasicShape> CreateBasicShape( |
inset->SetBottomLeftRadius(CreateBorderRadius( |
*list.Get(kInsetBorderBottomLeftWidthIndex), |
*list.Get(kInsetBorderBottomLeftHeightIndex), conversion_data)); |
- return inset.Release(); |
+ return inset; |
} |
} // namespace InsetFunctions |
@@ -497,7 +497,7 @@ PassRefPtr<BasicShape> CreateBasicShape( |
LengthInterpolationFunctions::CreateLength( |
*list.Get(i + 1), nullptr, conversion_data, kValueRangeAll)); |
} |
- return polygon.Release(); |
+ return polygon; |
} |
} // namespace PolygonFunctions |