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

Unified Diff: Source/core/svg/SVGBoolean.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/SVGBoolean.h ('k') | Source/core/svg/SVGElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGBoolean.cpp
diff --git a/Source/core/svg/SVGBoolean.cpp b/Source/core/svg/SVGBoolean.cpp
index eeaa416d6751aea1366adbea320a992c5e14d59d..a30c4291381b696d9c4ec13a5c70986d776ff522 100644
--- a/Source/core/svg/SVGBoolean.cpp
+++ b/Source/core/svg/SVGBoolean.cpp
@@ -39,7 +39,7 @@
namespace WebCore {
-PassRefPtr<NewSVGPropertyBase> SVGBoolean::cloneForAnimation(const String& value) const
+PassRefPtr<SVGPropertyBase> SVGBoolean::cloneForAnimation(const String& value) const
{
RefPtr<SVGBoolean> svgBoolean = create();
svgBoolean->setValueAsString(value, IGNORE_EXCEPTION);
@@ -62,12 +62,12 @@ void SVGBoolean::setValueAsString(const String& value, ExceptionState& exception
}
}
-void SVGBoolean::add(PassRefPtr<NewSVGPropertyBase>, SVGElement*)
+void SVGBoolean::add(PassRefPtr<SVGPropertyBase>, SVGElement*)
{
ASSERT_NOT_REACHED();
}
-void SVGBoolean::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<NewSVGPropertyBase> from, PassRefPtr<NewSVGPropertyBase> to, PassRefPtr<NewSVGPropertyBase>, SVGElement*)
+void SVGBoolean::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> from, PassRefPtr<SVGPropertyBase> to, PassRefPtr<SVGPropertyBase>, SVGElement*)
{
ASSERT(animationElement);
bool fromBoolean = animationElement->animationMode() == ToAnimation ? m_value : toSVGBoolean(from)->value();
@@ -76,7 +76,7 @@ void SVGBoolean::calculateAnimatedValue(SVGAnimationElement* animationElement, f
animationElement->animateDiscreteType<bool>(percentage, fromBoolean, toBoolean, m_value);
}
-float SVGBoolean::calculateDistance(PassRefPtr<NewSVGPropertyBase>, SVGElement*)
+float SVGBoolean::calculateDistance(PassRefPtr<SVGPropertyBase>, SVGElement*)
{
// No paced animations for boolean.
return -1;
« no previous file with comments | « Source/core/svg/SVGBoolean.h ('k') | Source/core/svg/SVGElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698