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

Unified Diff: Source/core/svg/SVGIntegerOptionalInteger.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/SVGInteger.cpp ('k') | Source/core/svg/SVGIntegerOptionalInteger.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGIntegerOptionalInteger.h
diff --git a/Source/core/svg/SVGIntegerOptionalInteger.h b/Source/core/svg/SVGIntegerOptionalInteger.h
index d71997e06a0bf4d2c4cd97248870e84edc9000df..698992e08def5e7763c7234cb43abcc556e077f2 100644
--- a/Source/core/svg/SVGIntegerOptionalInteger.h
+++ b/Source/core/svg/SVGIntegerOptionalInteger.h
@@ -35,7 +35,7 @@
namespace WebCore {
-class SVGIntegerOptionalInteger : public NewSVGPropertyBase {
+class SVGIntegerOptionalInteger : public SVGPropertyBase {
public:
// Tearoff of SVGIntegerOptionalInteger is never created.
typedef void TearOffType;
@@ -47,14 +47,14 @@ public:
}
PassRefPtr<SVGIntegerOptionalInteger> clone() const;
- virtual PassRefPtr<NewSVGPropertyBase> cloneForAnimation(const String&) const OVERRIDE;
+ virtual PassRefPtr<SVGPropertyBase> cloneForAnimation(const String&) const OVERRIDE;
virtual String valueAsString() const OVERRIDE;
void setValueAsString(const String&, ExceptionState&);
- 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 AnimatedIntegerOptionalInteger; }
@@ -68,9 +68,9 @@ protected:
RefPtr<SVGInteger> m_secondInteger;
};
-inline PassRefPtr<SVGIntegerOptionalInteger> toSVGIntegerOptionalInteger(PassRefPtr<NewSVGPropertyBase> passBase)
+inline PassRefPtr<SVGIntegerOptionalInteger> toSVGIntegerOptionalInteger(PassRefPtr<SVGPropertyBase> passBase)
{
- RefPtr<NewSVGPropertyBase> base = passBase;
+ RefPtr<SVGPropertyBase> base = passBase;
ASSERT(base->type() == SVGIntegerOptionalInteger::classType());
return static_pointer_cast<SVGIntegerOptionalInteger>(base.release());
}
« no previous file with comments | « Source/core/svg/SVGInteger.cpp ('k') | Source/core/svg/SVGIntegerOptionalInteger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698