| Index: Source/core/html/track/AudioTrack.cpp
|
| diff --git a/Source/core/html/track/AudioTrack.cpp b/Source/core/html/track/AudioTrack.cpp
|
| index ac8c92e96418b4e35fbd7741a6fe5b1277a771ba..bc4183a9478aee376865bf76df1ff721da2f8b60 100644
|
| --- a/Source/core/html/track/AudioTrack.cpp
|
| +++ b/Source/core/html/track/AudioTrack.cpp
|
| @@ -67,7 +67,17 @@ const AtomicString& AudioTrack::commentaryKeyword()
|
| return keyword;
|
| }
|
|
|
| -bool AudioTrack::isValidKind(const AtomicString& kind) const
|
| +bool AudioTrack::isValidKindKeyword(const AtomicString& kind)
|
| +{
|
| + return (kind == alternativeKeyword())
|
| + || (kind == descriptionsKeyword())
|
| + || (kind == mainKeyword())
|
| + || (kind == mainDescriptionsKeyword())
|
| + || (kind == translationKeyword())
|
| + || (kind == commentaryKeyword());
|
| +}
|
| +
|
| +bool AudioTrack::isValidKindKeyword(const String& kind)
|
| {
|
| return (kind == alternativeKeyword())
|
| || (kind == descriptionsKeyword())
|
|
|