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

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

Issue 208133002: [SVG] Remove "New" prefix from properties implementation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/svg/SVGTransform.h ('k') | Source/core/svg/SVGTransformList.h » ('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 6ad30969dd4fae17e028b442872ee0ca362c0b03..7d1636ec6abe4ec2fe37e6ee516a6512dd482d11 100644
--- a/Source/core/svg/SVGTransform.cpp
+++ b/Source/core/svg/SVGTransform.cpp
@@ -29,14 +29,14 @@
namespace WebCore {
SVGTransform::SVGTransform()
- : NewSVGPropertyBase(classType())
+ : SVGPropertyBase(classType())
, m_transformType(SVG_TRANSFORM_UNKNOWN)
, m_angle(0)
{
}
SVGTransform::SVGTransform(SVGTransformType transformType, ConstructionMode mode)
- : NewSVGPropertyBase(classType())
+ : SVGPropertyBase(classType())
, m_transformType(transformType)
, m_angle(0)
{
@@ -45,7 +45,7 @@ SVGTransform::SVGTransform(SVGTransformType transformType, ConstructionMode mode
}
SVGTransform::SVGTransform(const AffineTransform& matrix)
- : NewSVGPropertyBase(classType())
+ : SVGPropertyBase(classType())
, m_transformType(SVG_TRANSFORM_MATRIX)
, m_angle(0)
, m_matrix(matrix)
@@ -53,7 +53,7 @@ SVGTransform::SVGTransform(const AffineTransform& matrix)
}
SVGTransform::SVGTransform(SVGTransformType transformType, float angle, const FloatPoint& center, const AffineTransform& matrix)
- : NewSVGPropertyBase(classType())
+ : SVGPropertyBase(classType())
, m_transformType(transformType)
, m_angle(angle)
, m_center(center)
@@ -70,7 +70,7 @@ PassRefPtr<SVGTransform> SVGTransform::clone() const
return adoptRef(new SVGTransform(m_transformType, m_angle, m_center, m_matrix));
}
-PassRefPtr<NewSVGPropertyBase> SVGTransform::cloneForAnimation(const String&) const
+PassRefPtr<SVGPropertyBase> SVGTransform::cloneForAnimation(const String&) const
{
// SVGTransform is never animated.
ASSERT_NOT_REACHED();
@@ -224,19 +224,19 @@ String SVGTransform::valueAsString() const
return emptyString();
}
-void SVGTransform::add(PassRefPtr<NewSVGPropertyBase>, SVGElement*)
+void SVGTransform::add(PassRefPtr<SVGPropertyBase>, SVGElement*)
{
// SVGTransform is not animated by itself.
ASSERT_NOT_REACHED();
}
-void SVGTransform::calculateAnimatedValue(SVGAnimationElement*, float, unsigned, PassRefPtr<NewSVGPropertyBase>, PassRefPtr<NewSVGPropertyBase>, PassRefPtr<NewSVGPropertyBase>, SVGElement*)
+void SVGTransform::calculateAnimatedValue(SVGAnimationElement*, float, unsigned, PassRefPtr<SVGPropertyBase>, PassRefPtr<SVGPropertyBase>, PassRefPtr<SVGPropertyBase>, SVGElement*)
{
// SVGTransform is not animated by itself.
ASSERT_NOT_REACHED();
}
-float SVGTransform::calculateDistance(PassRefPtr<NewSVGPropertyBase>, SVGElement*)
+float SVGTransform::calculateDistance(PassRefPtr<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/SVGTransformList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698