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

Unified Diff: Source/core/svg/SVGPreserveAspectRatio.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/SVGPreserveAspectRatio.h ('k') | Source/core/svg/SVGPreserveAspectRatioTearOff.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPreserveAspectRatio.cpp
diff --git a/Source/core/svg/SVGPreserveAspectRatio.cpp b/Source/core/svg/SVGPreserveAspectRatio.cpp
index 027f362f81cb0c51e817fb82e320e2a98aadbdeb..bdb8b138a943b520e0a023473fac46cd31889a3d 100644
--- a/Source/core/svg/SVGPreserveAspectRatio.cpp
+++ b/Source/core/svg/SVGPreserveAspectRatio.cpp
@@ -34,7 +34,7 @@
namespace WebCore {
SVGPreserveAspectRatio::SVGPreserveAspectRatio()
- : NewSVGPropertyBase(classType())
+ : SVGPropertyBase(classType())
{
setDefault();
}
@@ -55,7 +55,7 @@ PassRefPtr<SVGPreserveAspectRatio> SVGPreserveAspectRatio::clone() const
return preserveAspectRatio.release();
}
-PassRefPtr<NewSVGPropertyBase> SVGPreserveAspectRatio::cloneForAnimation(const String& value) const
+PassRefPtr<SVGPropertyBase> SVGPreserveAspectRatio::cloneForAnimation(const String& value) const
{
RefPtr<SVGPreserveAspectRatio> preserveAspectRatio = create();
@@ -397,12 +397,12 @@ String SVGPreserveAspectRatio::valueAsString() const
}
}
-void SVGPreserveAspectRatio::add(PassRefPtr<NewSVGPropertyBase> other, SVGElement*)
+void SVGPreserveAspectRatio::add(PassRefPtr<SVGPropertyBase> other, SVGElement*)
{
ASSERT_NOT_REACHED();
}
-void SVGPreserveAspectRatio::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<NewSVGPropertyBase> fromValue, PassRefPtr<NewSVGPropertyBase> toValue, PassRefPtr<NewSVGPropertyBase>, SVGElement*)
+void SVGPreserveAspectRatio::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase> toValue, PassRefPtr<SVGPropertyBase>, SVGElement*)
{
ASSERT(animationElement);
@@ -415,7 +415,7 @@ void SVGPreserveAspectRatio::calculateAnimatedValue(SVGAnimationElement* animati
m_meetOrSlice = preserveAspectRatioToUse->m_meetOrSlice;
}
-float SVGPreserveAspectRatio::calculateDistance(PassRefPtr<NewSVGPropertyBase> toValue, SVGElement* contextElement)
+float SVGPreserveAspectRatio::calculateDistance(PassRefPtr<SVGPropertyBase> toValue, SVGElement* contextElement)
{
// No paced animations for SVGPreserveAspectRatio.
return -1;
« no previous file with comments | « Source/core/svg/SVGPreserveAspectRatio.h ('k') | Source/core/svg/SVGPreserveAspectRatioTearOff.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698