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

Unified Diff: Source/core/svg/SVGElement.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/SVGElement.h ('k') | Source/core/svg/SVGEnumeration.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGElement.cpp
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
index c3211ee1c1f2cd6d6125a33e4240b9af0a9d99ba..84f7baceb80009ca48e6c1b59d13e4c6b2c0d54c 100644
--- a/Source/core/svg/SVGElement.cpp
+++ b/Source/core/svg/SVGElement.cpp
@@ -722,14 +722,14 @@ AnimatedPropertyType SVGElement::animatedPropertyTypeForCSSAttribute(const Quali
return AnimatedUnknown;
}
-void SVGElement::addToPropertyMap(PassRefPtr<NewSVGAnimatedPropertyBase> passProperty)
+void SVGElement::addToPropertyMap(PassRefPtr<SVGAnimatedPropertyBase> passProperty)
{
- RefPtr<NewSVGAnimatedPropertyBase> property(passProperty);
+ RefPtr<SVGAnimatedPropertyBase> property(passProperty);
QualifiedName attributeName = property->attributeName();
m_newAttributeToPropertyMap.set(attributeName, property.release());
}
-PassRefPtr<NewSVGAnimatedPropertyBase> SVGElement::propertyFromAttribute(const QualifiedName& attributeName)
+PassRefPtr<SVGAnimatedPropertyBase> SVGElement::propertyFromAttribute(const QualifiedName& attributeName)
{
return m_newAttributeToPropertyMap.get(attributeName);
}
@@ -969,7 +969,7 @@ void SVGElement::synchronizeAnimatedSVGAttribute(const QualifiedName& name) cons
elementData()->m_animatedSVGAttributesAreDirty = false;
} else {
- RefPtr<NewSVGAnimatedPropertyBase> property = m_newAttributeToPropertyMap.get(name);
+ RefPtr<SVGAnimatedPropertyBase> property = m_newAttributeToPropertyMap.get(name);
if (property && property->needsSynchronizeAttribute())
property->synchronizeAttribute();
}
« no previous file with comments | « Source/core/svg/SVGElement.h ('k') | Source/core/svg/SVGEnumeration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698