| Index: Source/core/html/track/AudioTrack.h
|
| diff --git a/Source/core/html/track/AudioTrack.h b/Source/core/html/track/AudioTrack.h
|
| index d084a441642c7a899df16d047efae146ef4429db..bd7dcda22e6512a012618ab5b78b1d901d530d5e 100644
|
| --- a/Source/core/html/track/AudioTrack.h
|
| +++ b/Source/core/html/track/AudioTrack.h
|
| @@ -30,11 +30,13 @@ public:
|
| static const AtomicString& translationKeyword();
|
| static const AtomicString& commentaryKeyword();
|
|
|
| + static bool isValidKindKeyword(const String&);
|
| +
|
| private:
|
| AudioTrack(const String& id, const AtomicString& kind, const AtomicString& label, const AtomicString& language, bool enabled);
|
|
|
| // TrackBase
|
| - virtual bool isValidKind(const AtomicString&) const override;
|
| + virtual bool isValidKind(const AtomicString& kind) const override { return isValidKindKeyword(kind); }
|
| virtual AtomicString defaultKind() const override;
|
|
|
| bool m_enabled;
|
|
|