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

Unified Diff: Source/core/svg/SVGTransform.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/SVGStringListTearOff.cpp ('k') | Source/core/svg/SVGTransform.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGTransform.h
diff --git a/Source/core/svg/SVGTransform.h b/Source/core/svg/SVGTransform.h
index e7487a114a86b47f41ae86fe530977179246ea22..0864a478218703e15a0eafb4aa232a24ac1bce11 100644
--- a/Source/core/svg/SVGTransform.h
+++ b/Source/core/svg/SVGTransform.h
@@ -21,7 +21,7 @@
#ifndef SVGTransform_h
#define SVGTransform_h
-#include "core/svg/properties/NewSVGProperty.h"
+#include "core/svg/properties/SVGProperty.h"
#include "platform/geometry/FloatPoint.h"
#include "platform/transforms/AffineTransform.h"
#include "wtf/text/WTFString.h"
@@ -41,7 +41,7 @@ enum SVGTransformType {
SVG_TRANSFORM_SKEWY = 6
};
-class SVGTransform : public NewSVGPropertyBase {
+class SVGTransform : public SVGPropertyBase {
public:
typedef SVGTransformTearOff TearOffType;
@@ -68,7 +68,7 @@ public:
virtual ~SVGTransform();
PassRefPtr<SVGTransform> clone() const;
- virtual PassRefPtr<NewSVGPropertyBase> cloneForAnimation(const String&) const OVERRIDE;
+ virtual PassRefPtr<SVGPropertyBase> cloneForAnimation(const String&) const OVERRIDE;
SVGTransformType transformType() const { return m_transformType; }
@@ -96,9 +96,9 @@ public:
virtual String valueAsString() const OVERRIDE;
- 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 AnimatedTransform; }
@@ -126,9 +126,9 @@ inline bool operator!=(const SVGTransform& a, const SVGTransform& b)
return !(a == b);
}
-inline PassRefPtr<SVGTransform> toSVGTransform(PassRefPtr<NewSVGPropertyBase> passBase)
+inline PassRefPtr<SVGTransform> toSVGTransform(PassRefPtr<SVGPropertyBase> passBase)
{
- RefPtr<NewSVGPropertyBase> base = passBase;
+ RefPtr<SVGPropertyBase> base = passBase;
ASSERT(base->type() == SVGTransform::classType());
return static_pointer_cast<SVGTransform>(base.release());
}
« no previous file with comments | « Source/core/svg/SVGStringListTearOff.cpp ('k') | Source/core/svg/SVGTransform.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698