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

Unified Diff: Source/core/svg/SVGTransform.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/SVGTransform.h ('k') | Source/core/svg/SVGTransform.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGTransform.cpp
diff --git a/Source/core/svg/SVGTransform.cpp b/Source/core/svg/SVGTransform.cpp
index ec75c1fae54d03cd0bb8bb94e02460e0f0d489cd..936e6ab196f130e26ea33ac4b33ed85b90df0108 100644
--- a/Source/core/svg/SVGTransform.cpp
+++ b/Source/core/svg/SVGTransform.cpp
@@ -65,12 +65,12 @@ SVGTransform::~SVGTransform()
{
}
-PassRefPtr<SVGTransform> SVGTransform::clone() const
+PassRefPtrWillBeRawPtr<SVGTransform> SVGTransform::clone() const
{
- return adoptRef(new SVGTransform(m_transformType, m_angle, m_center, m_matrix));
+ return adoptRefWillBeNoop(new SVGTransform(m_transformType, m_angle, m_center, m_matrix));
}
-PassRefPtr<SVGPropertyBase> SVGTransform::cloneForAnimation(const String&) const
+PassRefPtrWillBeRawPtr<SVGPropertyBase> SVGTransform::cloneForAnimation(const String&) const
{
// SVGTransform is never animated.
ASSERT_NOT_REACHED();
@@ -230,13 +230,13 @@ void SVGTransform::add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*)
ASSERT_NOT_REACHED();
}
-void SVGTransform::calculateAnimatedValue(SVGAnimationElement*, float, unsigned, PassRefPtr<SVGPropertyBase>, PassRefPtr<SVGPropertyBase>, PassRefPtr<SVGPropertyBase>, SVGElement*)
+void SVGTransform::calculateAnimatedValue(SVGAnimationElement*, float, unsigned, PassRefPtrWillBeRawPtr<SVGPropertyBase>, PassRefPtrWillBeRawPtr<SVGPropertyBase>, PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*)
{
// SVGTransform is not animated by itself.
ASSERT_NOT_REACHED();
}
-float SVGTransform::calculateDistance(PassRefPtr<SVGPropertyBase>, SVGElement*)
+float SVGTransform::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*)
{
// SVGTransform is not animated by itself.
ASSERT_NOT_REACHED();
« no previous file with comments | « Source/core/svg/SVGTransform.h ('k') | Source/core/svg/SVGTransform.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698