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

Unified Diff: Source/core/svg/animation/SVGSMILElement.cpp

Issue 137063005: Update more svg classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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
Index: Source/core/svg/animation/SVGSMILElement.cpp
diff --git a/Source/core/svg/animation/SVGSMILElement.cpp b/Source/core/svg/animation/SVGSMILElement.cpp
index 1812c669a62616eee60fa7179aacf6c4daa5cc81..1917ba57c72baf1c00b1fddbd0175f9c8b16fe24 100644
--- a/Source/core/svg/animation/SVGSMILElement.cpp
+++ b/Source/core/svg/animation/SVGSMILElement.cpp
@@ -46,14 +46,14 @@ using namespace std;
namespace WebCore {
-class RepeatEvent : public Event {
+class RepeatEvent FINAL : public Event {
public:
static PassRefPtr<RepeatEvent> create(const AtomicString& type, int repeat)
{
return adoptRef(new RepeatEvent(type, false, false, repeat));
}
- ~RepeatEvent() { }
+ virtual ~RepeatEvent() { }
int repeat() const { return m_repeat; }
protected:
@@ -99,7 +99,7 @@ static SMILEventSender& smilRepeatNEventSender()
// This is used for duration type time values that can't be negative.
static const double invalidCachedTime = -1.;
-class ConditionEventListener : public EventListener {
+class ConditionEventListener FINAL : public EventListener {
public:
static PassRefPtr<ConditionEventListener> create(SVGSMILElement* animation, SVGSMILElement::Condition* condition)
{
@@ -113,7 +113,7 @@ public:
: 0;
}
- virtual bool operator==(const EventListener& other);
+ virtual bool operator==(const EventListener& other) OVERRIDE;
void disconnectAnimation()
{
@@ -128,7 +128,7 @@ private:
{
}
- virtual void handleEvent(ExecutionContext*, Event*);
+ virtual void handleEvent(ExecutionContext*, Event*) OVERRIDE;
SVGSMILElement* m_animation;
SVGSMILElement::Condition* m_condition;
« no previous file with comments | « Source/core/svg/SVGTextContentElement.cpp ('k') | Source/core/svg/properties/SVGAnimatedPathSegListPropertyTearOff.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698