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

Unified Diff: Source/core/svg/SVGPoint.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/SVGPoint.h ('k') | Source/core/svg/SVGPointList.h » ('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 86068f3284050509c7fbda508d3384a70057e146..3db90bd76aadaf1b2a8440cdcc9f1b09277d9361 100644
--- a/Source/core/svg/SVGPoint.cpp
+++ b/Source/core/svg/SVGPoint.cpp
@@ -43,12 +43,12 @@
namespace WebCore {
SVGPoint::SVGPoint()
- : NewSVGPropertyBase(classType())
+ : SVGPropertyBase(classType())
{
}
SVGPoint::SVGPoint(const FloatPoint& point)
- : NewSVGPropertyBase(classType())
+ : SVGPropertyBase(classType())
, m_value(point)
{
}
@@ -58,7 +58,7 @@ PassRefPtr<SVGPoint> SVGPoint::clone() const
return SVGPoint::create(m_value);
}
-PassRefPtr<NewSVGPropertyBase> SVGPoint::cloneForAnimation(const String& value) const
+PassRefPtr<SVGPropertyBase> SVGPoint::cloneForAnimation(const String& value) const
{
RefPtr<SVGPoint> point = SVGPoint::create();
point->setValueAsString(value, IGNORE_EXCEPTION);
@@ -125,19 +125,19 @@ String SVGPoint::valueAsString() const
return builder.toString();
}
-void SVGPoint::add(PassRefPtr<NewSVGPropertyBase> other, SVGElement*)
+void SVGPoint::add(PassRefPtr<SVGPropertyBase> other, SVGElement*)
{
// SVGPoint is not animated by itself
ASSERT_NOT_REACHED();
}
-void SVGPoint::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<NewSVGPropertyBase> fromValue, PassRefPtr<NewSVGPropertyBase> toValue, PassRefPtr<NewSVGPropertyBase> toAtEndOfDurationValue, SVGElement*)
+void SVGPoint::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase> toValue, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*)
{
// SVGPoint is not animated by itself
ASSERT_NOT_REACHED();
}
-float SVGPoint::calculateDistance(PassRefPtr<NewSVGPropertyBase> to, SVGElement* contextElement)
+float SVGPoint::calculateDistance(PassRefPtr<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/SVGPointList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698