Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Unified Diff: Source/core/html/track/VideoTrack.h

Issue 691313002: MSE: Implement TrackDefault object (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/track/VideoTrack.h
diff --git a/Source/core/html/track/VideoTrack.h b/Source/core/html/track/VideoTrack.h
index 678a17ebbfca004443a7e838b2a9b4b54c611da6..a8f6b7a3d14190b5caaf132e7304d7a2b258ed22 100644
--- a/Source/core/html/track/VideoTrack.h
+++ b/Source/core/html/track/VideoTrack.h
@@ -34,11 +34,13 @@ public:
static const AtomicString& subtitlesKeyword();
static const AtomicString& commentaryKeyword();
+ static bool isValidKindKeyword(const AtomicString&);
+
private:
VideoTrack(const String& id, const AtomicString& kind, const AtomicString& label, const AtomicString& language, bool selected);
// 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_selected;

Powered by Google App Engine
This is Rietveld 408576698