Index: third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp |
diff --git a/third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp b/third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp |
index c226541e03957dcb08789aeb38a8f0597e4b7f14..4026fdb757964095844978a582ec141c339e44b0 100644 |
--- a/third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp |
+++ b/third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp |
@@ -50,7 +50,7 @@ static int textTrackLanguageSelectionScore(const TextTrack& track) |
static int textTrackSelectionScore(const TextTrack& track) |
{ |
- if (track.kind() != TextTrack::captionsKeyword() && track.kind() != TextTrack::subtitlesKeyword()) |
+ if (!track.isVisualKind()) |
return 0; |
return textTrackLanguageSelectionScore(track); |