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

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

Issue 691313002: MSE: Implement TrackDefault object (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased and addressed PS9 comments Created 6 years, 1 month 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
« no previous file with comments | « Source/core/html/track/VideoTrack.h ('k') | Source/modules/mediasource/TrackDefault.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..12bb0f28bc70e087562e212bf57edefa8a67c2e2 100644
--- a/Source/core/html/track/VideoTrack.cpp
+++ b/Source/core/html/track/VideoTrack.cpp
@@ -69,14 +69,15 @@ const AtomicString& VideoTrack::commentaryKeyword()
return keyword;
}
-bool VideoTrack::isValidKind(const AtomicString& kind) const
+bool VideoTrack::isValidKindKeyword(const String& kind)
{
return (kind == alternativeKeyword())
|| (kind == captionsKeyword())
|| (kind == mainKeyword())
|| (kind == signKeyword())
|| (kind == subtitlesKeyword())
- || (kind == commentaryKeyword());
+ || (kind == commentaryKeyword())
+ || (kind == emptyAtom);
}
AtomicString VideoTrack::defaultKind() const
« no previous file with comments | « Source/core/html/track/VideoTrack.h ('k') | Source/modules/mediasource/TrackDefault.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698