Index: Source/core/html/track/TextTrackList.h |
diff --git a/Source/core/html/track/TextTrackList.h b/Source/core/html/track/TextTrackList.h |
index 7c150b2c931935a69628810a8bbec9c031a7c833..0d4c8838c5ee2af2ee01e4bb55f001c51995237b 100644 |
--- a/Source/core/html/track/TextTrackList.h |
+++ b/Source/core/html/track/TextTrackList.h |
@@ -41,14 +41,14 @@ class HTMLMediaElement; |
class TextTrack; |
class TextTrackList; |
-class TextTrackList : public RefCounted<TextTrackList>, public ScriptWrappable, public EventTargetWithInlineData { |
+class TextTrackList FINAL : public RefCounted<TextTrackList>, public ScriptWrappable, public EventTargetWithInlineData { |
REFCOUNTED_EVENT_TARGET(TextTrackList); |
public: |
static PassRefPtr<TextTrackList> create(HTMLMediaElement* owner) |
{ |
return adoptRef(new TextTrackList(owner)); |
} |
- ~TextTrackList(); |
+ virtual ~TextTrackList(); |
unsigned length() const; |
int getTrackIndex(TextTrack*); |