| 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..db5bae8aab81accdc27bb3854a76e3baaff471e4 100644
|
| --- a/Source/core/html/track/AudioTrack.h
|
| +++ b/Source/core/html/track/AudioTrack.h
|
| @@ -30,11 +30,14 @@ public:
|
| static const AtomicString& translationKeyword();
|
| static const AtomicString& commentaryKeyword();
|
|
|
| + static bool isValidKindKeyword(const AtomicString&);
|
| + 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;
|
|
|