| 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 15a7acff62ee757c721dc4c491b8281f06593345..4026fdb757964095844978a582ec141c339e44b0 100644
|
| --- a/third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp
|
| @@ -72,7 +72,7 @@
|
|
|
| void AutomaticTrackSelection::performAutomaticTextTrackSelection(const TrackGroup& group)
|
| {
|
| - DCHECK(group.tracks.size());
|
| + ASSERT(group.tracks.size());
|
|
|
| // First, find the track in the group that should be enabled (if any).
|
| HeapVector<Member<TextTrack>> currentlyEnabledTracks;
|
| @@ -142,7 +142,7 @@
|
|
|
| void AutomaticTrackSelection::enableDefaultMetadataTextTracks(const TrackGroup& group)
|
| {
|
| - DCHECK(group.tracks.size());
|
| + ASSERT(group.tracks.size());
|
|
|
| // https://html.spec.whatwg.org/multipage/embedded-content.html#honor-user-preferences-for-automatic-text-track-selection
|
|
|
| @@ -180,7 +180,7 @@
|
| } else if (kind == TextTrack::chaptersKeyword()) {
|
| currentGroup = &chapterTracks;
|
| } else {
|
| - DCHECK_EQ(kind, TextTrack::metadataKeyword());
|
| + ASSERT(kind == TextTrack::metadataKeyword());
|
| currentGroup = &metadataTracks;
|
| }
|
|
|
|
|