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

Unified Diff: Source/core/svg/SVGNumber.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/SVGMissingGlyphElement.h ('k') | Source/core/svg/SVGNumberList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGNumber.h
diff --git a/Source/core/svg/SVGNumber.h b/Source/core/svg/SVGNumber.h
index 072c185939ed4fff557d0b20ddeec9881703f520..5f096839303b9f55aa697af9f8b47a66319902be 100644
--- a/Source/core/svg/SVGNumber.h
+++ b/Source/core/svg/SVGNumber.h
@@ -54,12 +54,12 @@ public:
float value() const { return m_value; }
void setValue(float value) { m_value = value; }
- virtual String valueAsString() const OVERRIDE;
+ virtual String valueAsString() const override;
virtual void setValueAsString(const String&, ExceptionState&);
- 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 AnimatedNumber; }
@@ -83,15 +83,15 @@ inline PassRefPtr<SVGNumber> toSVGNumber(PassRefPtr<SVGPropertyBase> passBase)
// This is used for <stop> "offset"
// Spec: http://www.w3.org/TR/SVG11/pservers.html#GradientStops
// offset = "<number> | <percentage>"
-class SVGNumberAcceptPercentage FINAL : public SVGNumber {
+class SVGNumberAcceptPercentage final : public SVGNumber {
public:
static PassRefPtr<SVGNumberAcceptPercentage> create(float value = 0)
{
return adoptRef(new SVGNumberAcceptPercentage(value));
}
- virtual PassRefPtr<SVGNumber> clone() const OVERRIDE;
- virtual void setValueAsString(const String&, ExceptionState&) OVERRIDE;
+ virtual PassRefPtr<SVGNumber> clone() const override;
+ virtual void setValueAsString(const String&, ExceptionState&) override;
private:
SVGNumberAcceptPercentage(float value);
« no previous file with comments | « Source/core/svg/SVGMissingGlyphElement.h ('k') | Source/core/svg/SVGNumberList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698