| 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 903442c11a4205881e79a813e110ae3739dab213..b250eb5ea90becb9bf4495d4043df1e5c4c86d23 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 void VTTScanner::seekTo(Position position)
|
| {
|
| - DCHECK_LE(position, end());
|
| + ASSERT(position <= end());
|
| m_data.characters8 = position;
|
| }
|
|
|
| inline UChar VTTScanner::currentChar() const
|
| {
|
| - DCHECK_LT(getPosition(), end());
|
| + ASSERT(getPosition() < end());
|
| return m_is8Bit ? *m_data.characters8 : *m_data.characters16;
|
| }
|
|
|
| inline void VTTScanner::advance(unsigned amount)
|
| {
|
| - DCHECK_LT(getPosition(), end());
|
| + ASSERT(getPosition() < end());
|
| if (m_is8Bit)
|
| m_data.characters8 += amount;
|
| else
|
|
|