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

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

Powered by Google App Engine
This is Rietveld 408576698