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

Unified Diff: third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp

Issue 1947033002: Change "invalid value default" for HTMLTrackElement 'kind' to "metadata" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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: third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp
diff --git a/third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp b/third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp
index cb85d2c8c737b5d14def4de0d70ddc91181dbc4d..ebc5f73ad3836605a5ece0ba6ecb185807c26c94 100644
--- a/third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp
+++ b/third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp
@@ -44,7 +44,7 @@ InbandTextTrack* InbandTextTrack::create(WebInbandTextTrack* webTrack)
}
InbandTextTrack::InbandTextTrack(WebInbandTextTrack* webTrack)
- : TextTrack(emptyAtom, webTrack->label(), webTrack->language(), webTrack->id(), InBand)
+ : TextTrack(subtitlesKeyword(), webTrack->label(), webTrack->language(), webTrack->id(), InBand)
, m_webTrack(webTrack)
{
m_webTrack->setClient(this);

Powered by Google App Engine
This is Rietveld 408576698