| Index: third_party/WebKit/Source/core/dom/DocumentParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/DocumentParser.cpp b/third_party/WebKit/Source/core/dom/DocumentParser.cpp
|
| index 856191fe8a672f968c377124ed2959b67a664a58..ca62da445153b95e444feab1e719b08fbbc98c9d 100644
|
| --- a/third_party/WebKit/Source/core/dom/DocumentParser.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentParser.cpp
|
| @@ -37,7 +37,7 @@ DocumentParser::DocumentParser(Document* document)
|
| , m_documentWasLoadedAsPartOfNavigation(false)
|
| , m_document(document)
|
| {
|
| - ASSERT(document);
|
| + DCHECK(document);
|
| }
|
|
|
| DocumentParser::~DocumentParser()
|
| @@ -46,7 +46,7 @@ DocumentParser::~DocumentParser()
|
| // Document is expected to call detach() before releasing its ref.
|
| // This ASSERT is slightly awkward for parsers with a fragment case
|
| // as there is no Document to release the ref.
|
| - ASSERT(!m_document);
|
| + DCHECK(!m_document);
|
| #endif
|
| }
|
|
|
| @@ -68,7 +68,7 @@ TextResourceDecoder* DocumentParser::decoder()
|
|
|
| void DocumentParser::prepareToStopParsing()
|
| {
|
| - ASSERT(m_state == ParsingState);
|
| + DCHECK_EQ(m_state, ParsingState);
|
| m_state = StoppingState;
|
| }
|
|
|
|
|