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

Unified Diff: Source/core/svg/SVGLengthList.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/SVGLengthList.h ('k') | Source/core/svg/SVGLengthListTearOff.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGLengthList.cpp
diff --git a/Source/core/svg/SVGLengthList.cpp b/Source/core/svg/SVGLengthList.cpp
index c9672311028b3b96d85377a92ec447713c140491..df313330b51ad8cca9306f2db60a1b0995766eff 100644
--- a/Source/core/svg/SVGLengthList.cpp
+++ b/Source/core/svg/SVGLengthList.cpp
@@ -28,9 +28,9 @@
namespace WebCore {
-inline PassRefPtr<SVGLengthList> toSVGLengthList(PassRefPtr<NewSVGPropertyBase> passBase)
+inline PassRefPtr<SVGLengthList> toSVGLengthList(PassRefPtr<SVGPropertyBase> passBase)
{
- RefPtr<NewSVGPropertyBase> base = passBase;
+ RefPtr<SVGPropertyBase> base = passBase;
ASSERT(base->type() == SVGLengthList::classType());
return static_pointer_cast<SVGLengthList>(base.release());
}
@@ -51,7 +51,7 @@ PassRefPtr<SVGLengthList> SVGLengthList::clone()
return ret.release();
}
-PassRefPtr<NewSVGPropertyBase> SVGLengthList::cloneForAnimation(const String& value) const
+PassRefPtr<SVGPropertyBase> SVGLengthList::cloneForAnimation(const String& value) const
{
RefPtr<SVGLengthList> ret = SVGLengthList::create(m_mode);
ret->setValueAsString(value, IGNORE_EXCEPTION);
@@ -115,7 +115,7 @@ void SVGLengthList::setValueAsString(const String& value, ExceptionState& except
}
}
-void SVGLengthList::add(PassRefPtr<NewSVGPropertyBase> other, SVGElement* contextElement)
+void SVGLengthList::add(PassRefPtr<SVGPropertyBase> other, SVGElement* contextElement)
{
RefPtr<SVGLengthList> otherList = toSVGLengthList(other);
@@ -160,7 +160,7 @@ bool SVGLengthList::adjustFromToListValues(PassRefPtr<SVGLengthList> passFromLis
return true;
}
-void SVGLengthList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<NewSVGPropertyBase> fromValue, PassRefPtr<NewSVGPropertyBase> toValue, PassRefPtr<NewSVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement)
+void SVGLengthList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase> toValue, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement)
{
RefPtr<SVGLengthList> fromList = toSVGLengthList(fromValue);
RefPtr<SVGLengthList> toList = toSVGLengthList(toValue);
@@ -194,7 +194,7 @@ void SVGLengthList::calculateAnimatedValue(SVGAnimationElement* animationElement
}
}
-float SVGLengthList::calculateDistance(PassRefPtr<NewSVGPropertyBase> to, SVGElement*)
+float SVGLengthList::calculateDistance(PassRefPtr<SVGPropertyBase> to, SVGElement*)
{
// FIXME: Distance calculation is not possible for SVGLengthList right now. We need the distance for every single value.
return -1;
« no previous file with comments | « Source/core/svg/SVGLengthList.h ('k') | Source/core/svg/SVGLengthListTearOff.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698