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

Unified Diff: Source/core/svg/SVGTransformList.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/SVGTransformList.h ('k') | Source/core/svg/SVGTransformListTearOff.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGTransformList.cpp
diff --git a/Source/core/svg/SVGTransformList.cpp b/Source/core/svg/SVGTransformList.cpp
index 5e1698d88c16f3b56d27b4f005ffaaee5cd1b959..f449003ceaf88f8bc7daa7930d0812f93d5f58f4 100644
--- a/Source/core/svg/SVGTransformList.cpp
+++ b/Source/core/svg/SVGTransformList.cpp
@@ -35,9 +35,9 @@
namespace WebCore {
-inline PassRefPtr<SVGTransformList> toSVGTransformList(PassRefPtr<NewSVGPropertyBase> passBase)
+inline PassRefPtr<SVGTransformList> toSVGTransformList(PassRefPtr<SVGPropertyBase> passBase)
{
- RefPtr<NewSVGPropertyBase> base = passBase;
+ RefPtr<SVGPropertyBase> base = passBase;
ASSERT(base->type() == SVGTransformList::classType());
return static_pointer_cast<SVGTransformList>(base.release());
}
@@ -256,7 +256,7 @@ void SVGTransformList::setValueAsString(const String& value, ExceptionState& exc
}
}
-PassRefPtr<NewSVGPropertyBase> SVGTransformList::cloneForAnimation(const String& value) const
+PassRefPtr<SVGPropertyBase> SVGTransformList::cloneForAnimation(const String& value) const
{
ASSERT_NOT_REACHED();
return nullptr;
@@ -282,7 +282,7 @@ PassRefPtr<SVGTransformList> SVGTransformList::create(SVGTransformType transform
return svgTransformList.release();
}
-void SVGTransformList::add(PassRefPtr<NewSVGPropertyBase> other, SVGElement* contextElement)
+void SVGTransformList::add(PassRefPtr<SVGPropertyBase> other, SVGElement* contextElement)
{
if (isEmpty())
return;
@@ -300,7 +300,7 @@ void SVGTransformList::add(PassRefPtr<NewSVGPropertyBase> other, SVGElement* con
append(SVGTransformDistance::addSVGTransforms(fromTransform, toTransform));
}
-void SVGTransformList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<NewSVGPropertyBase> fromValue, PassRefPtr<NewSVGPropertyBase> toValue, PassRefPtr<NewSVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement)
+void SVGTransformList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase> toValue, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement)
{
ASSERT(animationElement);
bool isToAnimation = animationElement->animationMode() == ToAnimation;
@@ -334,7 +334,7 @@ void SVGTransformList::calculateAnimatedValue(SVGAnimationElement* animationElem
}
}
-float SVGTransformList::calculateDistance(PassRefPtr<NewSVGPropertyBase> toValue, SVGElement*)
+float SVGTransformList::calculateDistance(PassRefPtr<SVGPropertyBase> toValue, SVGElement*)
{
// FIXME: This is not correct in all cases. The spec demands that each component (translate x and y for example)
// is paced separately. To implement this we need to treat each component as individual animation everywhere.
« no previous file with comments | « Source/core/svg/SVGTransformList.h ('k') | Source/core/svg/SVGTransformListTearOff.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698