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

Unified Diff: Source/core/svg/SVGPoint.cpp

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 years, 1 month 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/svg/SVGPoint.h ('k') | Source/core/svg/SVGPoint.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPoint.cpp
diff --git a/Source/core/svg/SVGPoint.cpp b/Source/core/svg/SVGPoint.cpp
index dd2ad89d0e332b850ad211d778ac6dad8878772f..761de2668f08b88c2a897b6ad8f4876f2a0ce70a 100644
--- a/Source/core/svg/SVGPoint.cpp
+++ b/Source/core/svg/SVGPoint.cpp
@@ -51,7 +51,7 @@ SVGPoint::SVGPoint(const FloatPoint& point)
{
}
-PassRefPtr<SVGPoint> SVGPoint::clone() const
+PassRefPtrWillBeRawPtr<SVGPoint> SVGPoint::clone() const
{
return SVGPoint::create(m_value);
}
@@ -122,13 +122,13 @@ void SVGPoint::add(PassRefPtrWillBeRawPtr<SVGPropertyBase> other, SVGElement*)
ASSERT_NOT_REACHED();
}
-void SVGPoint::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase> toValue, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*)
+void SVGPoint::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> fromValue, PassRefPtrWillBeRawPtr<SVGPropertyBase> toValue, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*)
{
// SVGPoint is not animated by itself
ASSERT_NOT_REACHED();
}
-float SVGPoint::calculateDistance(PassRefPtr<SVGPropertyBase> to, SVGElement* contextElement)
+float SVGPoint::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement* contextElement)
{
// SVGPoint is not animated by itself
ASSERT_NOT_REACHED();
« no previous file with comments | « Source/core/svg/SVGPoint.h ('k') | Source/core/svg/SVGPoint.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698