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

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

Issue 2003433005: Reland "media/track: Replace wtf/Assertions.h macros in favor of base/logging.h macros" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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/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();

Powered by Google App Engine
This is Rietveld 408576698