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

Unified Diff: Source/core/svg/SVGLength.h

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/SVGIntegerOptionalInteger.cpp ('k') | Source/core/svg/SVGLength.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGLength.h
diff --git a/Source/core/svg/SVGLength.h b/Source/core/svg/SVGLength.h
index fede46b056b0096d6cdbd5e233787e871d31481b..566f85d4fa014bf59b3b50bbe1f50755b9074cfa 100644
--- a/Source/core/svg/SVGLength.h
+++ b/Source/core/svg/SVGLength.h
@@ -24,7 +24,7 @@
#include "bindings/v8/ExceptionMessages.h"
#include "bindings/v8/ExceptionStatePlaceholder.h"
#include "core/svg/SVGLengthContext.h"
-#include "core/svg/properties/NewSVGProperty.h"
+#include "core/svg/properties/SVGProperty.h"
#include "heap/Handle.h"
namespace WebCore {
@@ -40,7 +40,7 @@ enum SVGLengthNegativeValuesMode {
class SVGLengthTearOff;
-class SVGLength FINAL : public NewSVGPropertyBase {
+class SVGLength FINAL : public SVGPropertyBase {
public:
typedef SVGLengthTearOff TearOffType;
@@ -50,7 +50,7 @@ public:
}
PassRefPtr<SVGLength> clone() const;
- virtual PassRefPtr<NewSVGPropertyBase> cloneForAnimation(const String&) const OVERRIDE;
+ virtual PassRefPtr<SVGPropertyBase> cloneForAnimation(const String&) const OVERRIDE;
SVGLengthType unitType() const { return static_cast<SVGLengthType>(m_unitType); }
void setUnitType(SVGLengthType);
@@ -96,9 +96,9 @@ public:
PassRefPtr<SVGLength> blend(PassRefPtr<SVGLength> from, float progress) const;
- virtual void add(PassRefPtr<NewSVGPropertyBase>, SVGElement*) OVERRIDE;
- virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtr<NewSVGPropertyBase> from, PassRefPtr<NewSVGPropertyBase> to, PassRefPtr<NewSVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) OVERRIDE;
- virtual float calculateDistance(PassRefPtr<NewSVGPropertyBase> to, SVGElement* contextElement) OVERRIDE;
+ virtual void add(PassRefPtr<SVGPropertyBase>, SVGElement*) OVERRIDE;
+ virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> from, PassRefPtr<SVGPropertyBase> to, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) OVERRIDE;
+ virtual float calculateDistance(PassRefPtr<SVGPropertyBase> to, SVGElement* contextElement) OVERRIDE;
static AnimatedPropertyType classType() { return AnimatedLength; }
@@ -111,9 +111,9 @@ private:
unsigned m_unitType : 4;
};
-inline PassRefPtr<SVGLength> toSVGLength(PassRefPtr<NewSVGPropertyBase> passBase)
+inline PassRefPtr<SVGLength> toSVGLength(PassRefPtr<SVGPropertyBase> passBase)
{
- RefPtr<NewSVGPropertyBase> base = passBase;
+ RefPtr<SVGPropertyBase> base = passBase;
ASSERT(base->type() == SVGLength::classType());
return static_pointer_cast<SVGLength>(base.release());
}
« no previous file with comments | « Source/core/svg/SVGIntegerOptionalInteger.cpp ('k') | Source/core/svg/SVGLength.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698