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

Unified Diff: Source/core/svg/properties/SVGAnimatedProperty.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/graphics/filters/SVGFilter.h ('k') | Source/core/svg/properties/SVGPropertyTearOff.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/properties/SVGAnimatedProperty.h
diff --git a/Source/core/svg/properties/SVGAnimatedProperty.h b/Source/core/svg/properties/SVGAnimatedProperty.h
index 113027fa211717b94a1634d9be0e47b3be7b32b0..93e6438f98cedda611bcf20057b71a6905b15241 100644
--- a/Source/core/svg/properties/SVGAnimatedProperty.h
+++ b/Source/core/svg/properties/SVGAnimatedProperty.h
@@ -120,17 +120,17 @@ public:
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;
@@ -140,19 +140,19 @@ public:
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();
@@ -177,14 +177,14 @@ private:
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;
@@ -241,19 +241,19 @@ public:
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.
« no previous file with comments | « Source/core/svg/graphics/filters/SVGFilter.h ('k') | Source/core/svg/properties/SVGPropertyTearOff.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698