Index: third_party/WebKit/Source/core/html/track/vtt/VTTScanner.h |
diff --git a/third_party/WebKit/Source/core/html/track/vtt/VTTScanner.h b/third_party/WebKit/Source/core/html/track/vtt/VTTScanner.h |
index b250eb5ea90becb9bf4495d4043df1e5c4c86d23..903442c11a4205881e79a813e110ae3739dab213 100644 |
--- a/third_party/WebKit/Source/core/html/track/vtt/VTTScanner.h |
+++ b/third_party/WebKit/Source/core/html/track/vtt/VTTScanner.h |
@@ -216,19 +216,19 @@ inline VTTScanner::Run VTTScanner::collectUntil() |
inline void VTTScanner::seekTo(Position position) |
{ |
- ASSERT(position <= end()); |
+ DCHECK_LE(position, end()); |
m_data.characters8 = position; |
} |
inline UChar VTTScanner::currentChar() const |
{ |
- ASSERT(getPosition() < end()); |
+ DCHECK_LT(getPosition(), end()); |
return m_is8Bit ? *m_data.characters8 : *m_data.characters16; |
} |
inline void VTTScanner::advance(unsigned amount) |
{ |
- ASSERT(getPosition() < end()); |
+ DCHECK_LT(getPosition(), end()); |
if (m_is8Bit) |
m_data.characters8 += amount; |
else |