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

Unified Diff: Source/core/svg/SVGPointList.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/SVGPointList.h ('k') | Source/core/svg/SVGPointListTearOff.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPointList.cpp
diff --git a/Source/core/svg/SVGPointList.cpp b/Source/core/svg/SVGPointList.cpp
index 09e01a4e3eca8f4016abc9a0654c5674abebdc9a..1360862903fdb2385e5debc6a28d08f10e4d9f9c 100644
--- a/Source/core/svg/SVGPointList.cpp
+++ b/Source/core/svg/SVGPointList.cpp
@@ -29,9 +29,9 @@
namespace WebCore {
-inline PassRefPtr<SVGPointList> toSVGPointList(PassRefPtr<NewSVGPropertyBase> passBase)
+inline PassRefPtr<SVGPointList> toSVGPointList(PassRefPtr<SVGPropertyBase> passBase)
{
- RefPtr<NewSVGPropertyBase> base = passBase;
+ RefPtr<SVGPropertyBase> base = passBase;
ASSERT(base->type() == SVGPointList::classType());
return static_pointer_cast<SVGPointList>(base.release());
}
@@ -51,7 +51,7 @@ PassRefPtr<SVGPointList> SVGPointList::clone()
return svgPointList.release();
}
-PassRefPtr<NewSVGPropertyBase> SVGPointList::cloneForAnimation(const String& value) const
+PassRefPtr<SVGPropertyBase> SVGPointList::cloneForAnimation(const String& value) const
{
RefPtr<SVGPointList> svgPointList = SVGPointList::create();
svgPointList->setValueAsString(value, IGNORE_EXCEPTION);
@@ -132,7 +132,7 @@ void SVGPointList::setValueAsString(const String& value, ExceptionState& excepti
exceptionState.throwDOMException(SyntaxError, "Problem parsing points=\""+value+"\"");
}
-void SVGPointList::add(PassRefPtr<NewSVGPropertyBase> other, SVGElement* contextElement)
+void SVGPointList::add(PassRefPtr<SVGPropertyBase> other, SVGElement* contextElement)
{
RefPtr<SVGPointList> otherList = toSVGPointList(other);
@@ -176,7 +176,7 @@ bool SVGPointList::adjustFromToListValues(PassRefPtr<SVGPointList> passFromList,
return true;
}
-void SVGPointList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<NewSVGPropertyBase> fromValue, PassRefPtr<NewSVGPropertyBase> toValue, PassRefPtr<NewSVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement)
+void SVGPointList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase> toValue, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement)
{
RefPtr<SVGPointList> fromList = toSVGPointList(fromValue);
RefPtr<SVGPointList> toList = toSVGPointList(toValue);
@@ -207,7 +207,7 @@ void SVGPointList::calculateAnimatedValue(SVGAnimationElement* animationElement,
}
}
-float SVGPointList::calculateDistance(PassRefPtr<NewSVGPropertyBase> to, SVGElement*)
+float SVGPointList::calculateDistance(PassRefPtr<SVGPropertyBase> to, SVGElement*)
{
// FIXME: Distance calculation is not possible for SVGPointList right now. We need the distance for every single value.
return -1;
« no previous file with comments | « Source/core/svg/SVGPointList.h ('k') | Source/core/svg/SVGPointListTearOff.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698