| Index: third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp b/third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp
|
| index 858cd8acab1d101f619c1f1f9b334e2af16a7f1a..24b1f03f6191dbaf0945164a49b8c88cd5567c31 100644
|
| --- a/third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp
|
| +++ b/third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp
|
| @@ -91,13 +91,13 @@
|
|
|
| void VTTParser::getNewCues(HeapVector<Member<TextTrackCue>>& outputCues)
|
| {
|
| - DCHECK(outputCues.isEmpty());
|
| + ASSERT(outputCues.isEmpty());
|
| outputCues.swap(m_cueList);
|
| }
|
|
|
| void VTTParser::getNewRegions(HeapVector<Member<VTTRegion>>& outputRegions)
|
| {
|
| - DCHECK(outputRegions.isEmpty());
|
| + ASSERT(outputRegions.isEmpty());
|
| outputRegions.swap(m_regionList);
|
| }
|
|
|
| @@ -193,7 +193,7 @@
|
|
|
| void VTTParser::flushPendingCue()
|
| {
|
| - DCHECK(m_lineReader.isAtEndOfStream());
|
| + ASSERT(m_lineReader.isAtEndOfStream());
|
| // If we're in the CueText state when we run out of data, we emit the pending cue.
|
| if (m_state == CueText)
|
| createNewCue();
|
|
|