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

Unified Diff: Source/core/html/track/AudioTrack.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/AudioTrack.h ('k') | Source/core/html/track/TextTrack.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..136bab48ccf5414e63eb48bd0cc974c322ccdf0e 100644
--- a/Source/core/html/track/AudioTrack.cpp
+++ b/Source/core/html/track/AudioTrack.cpp
@@ -67,14 +67,15 @@ const AtomicString& AudioTrack::commentaryKeyword()
return keyword;
}
-bool AudioTrack::isValidKind(const AtomicString& kind) const
+bool AudioTrack::isValidKindKeyword(const String& kind)
{
return (kind == alternativeKeyword())
|| (kind == descriptionsKeyword())
|| (kind == mainKeyword())
|| (kind == mainDescriptionsKeyword())
|| (kind == translationKeyword())
- || (kind == commentaryKeyword());
+ || (kind == commentaryKeyword())
+ || (kind == emptyAtom);
}
AtomicString AudioTrack::defaultKind() const
« no previous file with comments | « Source/core/html/track/AudioTrack.h ('k') | Source/core/html/track/TextTrack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698