Index: Source/core/svg/SVGElementInstance.h |
diff --git a/Source/core/svg/SVGElementInstance.h b/Source/core/svg/SVGElementInstance.h |
index 66de33c7d7509e29e64d9a4e23fd3cea5490fdaa..d41e0ad49ec7e2a923dc510b7f7c9be3c4c32126 100644 |
--- a/Source/core/svg/SVGElementInstance.h |
+++ b/Source/core/svg/SVGElementInstance.h |
@@ -38,7 +38,7 @@ class SVGElementInstanceList; |
class SVGUseElement; |
// SVGElementInstance mimics Node, but without providing all its functionality |
-class SVGElementInstance : public EventTarget, public ScriptWrappable, public TreeShared<SVGElementInstance> { |
+class SVGElementInstance FINAL : public EventTarget, public ScriptWrappable, public TreeShared<SVGElementInstance> { |
DEFINE_EVENT_TARGET_REFCOUNTING(TreeShared<SVGElementInstance>); |
public: |
static PassRefPtr<SVGElementInstance> create(SVGUseElement* correspondingUseElement, SVGUseElement* directUseElement, PassRefPtr<SVGElement> originalElement); |
@@ -47,12 +47,12 @@ public: |
void setParentOrShadowHostNode(SVGElementInstance* instance) { m_parentInstance = instance; } |
- virtual const AtomicString& interfaceName() const; |
- virtual ExecutionContext* executionContext() const; |
+ virtual const AtomicString& interfaceName() const OVERRIDE; |
+ virtual ExecutionContext* executionContext() const OVERRIDE; |
- virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture); |
- virtual bool removeEventListener(const AtomicString& eventType, EventListener*, bool useCapture); |
- virtual void removeAllEventListeners(); |
+ virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture) OVERRIDE; |
+ virtual bool removeEventListener(const AtomicString& eventType, EventListener*, bool useCapture) OVERRIDE; |
+ virtual void removeAllEventListeners() OVERRIDE; |
using EventTarget::dispatchEvent; |
virtual bool dispatchEvent(PassRefPtr<Event>) OVERRIDE; |