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

Unified Diff: third_party/WebKit/Source/core/html/track/vtt/BufferedLineReader.h

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/BufferedLineReader.h
diff --git a/third_party/WebKit/Source/core/html/track/vtt/BufferedLineReader.h b/third_party/WebKit/Source/core/html/track/vtt/BufferedLineReader.h
index c592837525ed4b89713b3a84c130e9ee91160c8e..11b9642492fbbb9450efa7017d1511c8c8a20ede 100644
--- a/third_party/WebKit/Source/core/html/track/vtt/BufferedLineReader.h
+++ b/third_party/WebKit/Source/core/html/track/vtt/BufferedLineReader.h
@@ -55,7 +55,7 @@ public:
// Append data to the internal buffer.
void append(const String& data)
{
- ASSERT(!m_endOfStream);
+ DCHECK(!m_endOfStream);
m_buffer.append(SegmentedString(data));
}
@@ -75,7 +75,7 @@ private:
// Consume the next character the buffer if it is the character |c|.
void scanCharacter(UChar c)
{
- ASSERT(!m_buffer.isEmpty());
+ DCHECK(!m_buffer.isEmpty());
if (m_buffer.currentChar() == c)
m_buffer.advance();
}

Powered by Google App Engine
This is Rietveld 408576698