| Index: third_party/WebKit/Source/core/html/parser/HTMLSourceTracker.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLSourceTracker.cpp b/third_party/WebKit/Source/core/html/parser/HTMLSourceTracker.cpp
|
| index e4e329fb837e227f1a88132dd33f1bb8023c5c6c..75c7be0cecfaba3f067da4e6e6c5d5ab8f45a803 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLSourceTracker.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLSourceTracker.cpp
|
| @@ -76,7 +76,7 @@ String HTMLSourceTracker::sourceForToken(const HTMLToken& token) {
|
| // mark the end of the file.
|
| length = m_previousSource.length() + m_currentSource.length() - 1;
|
| } else {
|
| - ASSERT(!token.startIndex());
|
| + DCHECK(!token.startIndex());
|
| length = static_cast<size_t>(token.endIndex() - token.startIndex());
|
| }
|
|
|
| @@ -89,7 +89,7 @@ String HTMLSourceTracker::sourceForToken(const HTMLToken& token) {
|
| m_previousSource.advance();
|
| }
|
| for (; i < length; ++i) {
|
| - ASSERT(!m_currentSource.isEmpty());
|
| + DCHECK(!m_currentSource.isEmpty());
|
| source.append(m_currentSource.currentChar());
|
| m_currentSource.advance();
|
| }
|
|
|