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 24b1f03f6191dbaf0945164a49b8c88cd5567c31..858cd8acab1d101f619c1f1f9b334e2af16a7f1a 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 @@ VTTParser::VTTParser(VTTParserClient* client, Document& document) |
void VTTParser::getNewCues(HeapVector<Member<TextTrackCue>>& outputCues) |
{ |
- ASSERT(outputCues.isEmpty()); |
+ DCHECK(outputCues.isEmpty()); |
outputCues.swap(m_cueList); |
} |
void VTTParser::getNewRegions(HeapVector<Member<VTTRegion>>& outputRegions) |
{ |
- ASSERT(outputRegions.isEmpty()); |
+ DCHECK(outputRegions.isEmpty()); |
outputRegions.swap(m_regionList); |
} |
@@ -193,7 +193,7 @@ void VTTParser::parse() |
void VTTParser::flushPendingCue() |
{ |
- ASSERT(m_lineReader.isAtEndOfStream()); |
+ DCHECK(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(); |