| Index: third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp b/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp
|
| index 184826dc98fd70fc6260a8dd02dd23fad5db03c9..ae67a7feac7f372d44e0821047ce75e5114b23b7 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp
|
| @@ -97,7 +97,7 @@ void HTMLViewSourceDocument::addSource(const String& source, HTMLToken& token, S
|
|
|
| switch (token.type()) {
|
| case HTMLToken::Uninitialized:
|
| - ASSERT_NOT_REACHED();
|
| + NOTREACHED();
|
| break;
|
| case HTMLToken::DOCTYPE:
|
| processDoctypeToken(source, token);
|
| @@ -145,7 +145,7 @@ void HTMLViewSourceDocument::processTagToken(const String& source, HTMLToken& to
|
| if (iter == token.attributes().end()) {
|
| // We want to show the remaining characters in the token.
|
| index = addRange(source, index, source.length(), emptyAtom);
|
| - ASSERT(index == source.length());
|
| + DCHECK_EQ(index, source.length());
|
| break;
|
| }
|
|
|
| @@ -258,7 +258,7 @@ void HTMLViewSourceDocument::addText(const String& text, const AtomicString& cla
|
|
|
| int HTMLViewSourceDocument::addRange(const String& source, int start, int end, const AtomicString& className, bool isLink, bool isAnchor, const AtomicString& link)
|
| {
|
| - ASSERT(start <= end);
|
| + DCHECK_LE(start, end);
|
| if (start == end)
|
| return start;
|
|
|
|
|