return const_cast<SVGAnimatedPropertyCommon*>(this)->currentValue();
}
- virtual SVGPropertyBase* currentValueBase() OVERRIDE
+ virtual SVGPropertyBase* currentValueBase() override
{
return currentValue();
}
- virtual bool isAnimating() const OVERRIDE
+ virtual bool isAnimating() const override
{
return m_currentValue;
}
- void setBaseValueAsString(const String& value, SVGParsingError& parseError) OVERRIDE
+ void setBaseValueAsString(const String& value, SVGParsingError& parseError) override
{
TrackExceptionState es;
parseError = ParsingAttributeFailedError;
}
- virtual PassRefPtr<SVGPropertyBase> createAnimatedValue() OVERRIDE
+ virtual PassRefPtr<SVGPropertyBase> createAnimatedValue() override
{
return m_baseValue->clone();
}
- virtual void setAnimatedValue(PassRefPtr<SVGPropertyBase> passValue) OVERRIDE
+ virtual void setAnimatedValue(PassRefPtr<SVGPropertyBase> passValue) override
{
RefPtr<SVGPropertyBase> value = passValue;
ASSERT(value->type() == Property::classType());
m_currentValue = static_pointer_cast<Property>(value.release());
}
- virtual void animationEnded() OVERRIDE
+ virtual void animationEnded() override
{
m_currentValue.clear();
template <typename Property, typename TearOffType = typename Property::TearOffType, typename PrimitiveType = typename Property::PrimitiveType>
class SVGAnimatedProperty : public SVGAnimatedPropertyCommon<Property> {
public:
- virtual bool needsSynchronizeAttribute() OVERRIDE
+ virtual bool needsSynchronizeAttribute() override
{
// DOM attribute synchronization is only needed if tear-off is being touched from javascript or the property is being animated.
// This prevents unnecessary attribute creation on target element.
return m_baseValueUpdated || this->isAnimating();
}
- virtual void synchronizeAttribute() OVERRIDE
+ virtual void synchronizeAttribute() override
{
SVGAnimatedPropertyBase::synchronizeAttribute();
m_baseValueUpdated = false;
return adoptRef(new SVGAnimatedProperty<Property>(contextElement, attributeName, initialValue));
}
- virtual void setAnimatedValue(PassRefPtr<SVGPropertyBase> value) OVERRIDE
+ virtual void setAnimatedValue(PassRefPtr<SVGPropertyBase> value) override
{
SVGAnimatedPropertyCommon<Property>::setAnimatedValue(value);
updateAnimValTearOffIfNeeded();
}
- virtual void animationEnded() OVERRIDE
+ virtual void animationEnded() override
{
SVGAnimatedPropertyCommon<Property>::animationEnded();
updateAnimValTearOffIfNeeded();
}
- virtual bool needsSynchronizeAttribute() OVERRIDE
+ virtual bool needsSynchronizeAttribute() override
{
// DOM attribute synchronization is only needed if tear-off is being touched from javascript or the property is being animated.
// This prevents unnecessary attribute creation on target element.