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

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

Issue 631153003: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/svg (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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.h ('k') | Source/core/svg/SVGLengthList.h » ('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 a56c80df8a01a1a9cf003c76d38078002a0eb79f..d518b83709dce5719dfab7f7ffeb5c438ddf857f 100644
--- a/Source/core/svg/SVGLength.h
+++ b/Source/core/svg/SVGLength.h
@@ -40,7 +40,7 @@ enum SVGLengthNegativeValuesMode {
class SVGLengthTearOff;
-class SVGLength FINAL : public SVGPropertyBase {
+class SVGLength final : public SVGPropertyBase {
public:
typedef SVGLengthTearOff TearOffType;
@@ -50,7 +50,7 @@ public:
}
PassRefPtr<SVGLength> clone() const;
- virtual PassRefPtr<SVGPropertyBase> 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);
@@ -71,7 +71,7 @@ public:
float valueAsPercentage() const;
- virtual String valueAsString() const OVERRIDE;
+ virtual String valueAsString() const override;
void setValueAsString(const String&, ExceptionState&);
void newValueSpecifiedUnits(SVGLengthType, float valueInSpecifiedUnits);
@@ -96,9 +96,9 @@ public:
PassRefPtr<SVGLength> blend(PassRefPtr<SVGLength> from, float progress) const;
- virtual void add(PassRefPtrWillBeRawPtr<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;
+ virtual void add(PassRefPtrWillBeRawPtr<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; }
« no previous file with comments | « Source/core/svg/SVGIntegerOptionalInteger.h ('k') | Source/core/svg/SVGLengthList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698