| Index: Source/core/html/track/VideoTrack.cpp
|
| diff --git a/Source/core/html/track/VideoTrack.cpp b/Source/core/html/track/VideoTrack.cpp
|
| index 86d26b57cf077973b8ab39a406cdc856d6914768..c6a60604efc655b8843859ea3fde54f47c166b6e 100644
|
| --- a/Source/core/html/track/VideoTrack.cpp
|
| +++ b/Source/core/html/track/VideoTrack.cpp
|
| @@ -69,7 +69,17 @@ const AtomicString& VideoTrack::commentaryKeyword()
|
| return keyword;
|
| }
|
|
|
| -bool VideoTrack::isValidKind(const AtomicString& kind) const
|
| +bool VideoTrack::isValidKindKeyword(const AtomicString& kind)
|
| +{
|
| + return (kind == alternativeKeyword())
|
| + || (kind == captionsKeyword())
|
| + || (kind == mainKeyword())
|
| + || (kind == signKeyword())
|
| + || (kind == subtitlesKeyword())
|
| + || (kind == commentaryKeyword());
|
| +}
|
| +
|
| +bool VideoTrack::isValidKindKeyword(const String& kind)
|
| {
|
| return (kind == alternativeKeyword())
|
| || (kind == captionsKeyword())
|
|
|