| 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);
|
|
|