Use is<>() / downcast<>() for TextTrack subclasses
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Oct 2014 05:10:55 +0000 (05:10 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Oct 2014 05:10:55 +0000 (05:10 +0000)
commit3d5e44df0a438303ba17c1098420da5abefdd6de
tree2fe7edebd6bf5d931530d972879896c13eded67b
parent28ff4016ba6cf5110910701562192321f2484fdb
Use is<>() / downcast<>() for TextTrack subclasses
https://bugs.webkit.org/show_bug.cgi?id=137438

Reviewed by Ryosuke Niwa.

Use is<>() / downcast<>() for TextTrack subclasses.

No new tests, no behavior change.

* Modules/mediasource/SourceBuffer.cpp:
(WebCore::SourceBuffer::sourceBufferPrivateDidReceiveInitializationSegment):
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::parseAttribute):
* html/track/InbandTextTrack.h:
(isType):
* html/track/LoadableTextTrack.h:
(isType):
* html/track/TextTrackList.cpp:
(TextTrackList::getTrackIndex):
(TextTrackList::append): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@174338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/Modules/mediasource/SourceBuffer.cpp
Source/WebCore/html/HTMLMediaElement.cpp
Source/WebCore/html/track/InbandTextTrack.h
Source/WebCore/html/track/LoadableTextTrack.h
Source/WebCore/html/track/TextTrackList.cpp