| Index: third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| index 2c9759fc1312640eeb66055b6401d6f147ddfaeb..fd0869762a217eeeb31b0e5fbae05cc96a8ce2a4 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| @@ -64,7 +64,7 @@ static const size_t defaultPendingTokenLimit = 1000;
|
|
|
| using namespace HTMLNames;
|
|
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
|
|
| static void checkThatTokensAreSafeToSendToAnotherThread(
|
| const CompactHTMLTokenStream* tokens) {
|
| @@ -319,7 +319,7 @@ bool BackgroundHTMLParser::queueChunkForMainThread() {
|
| if (m_pendingTokens->isEmpty())
|
| return false;
|
|
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| checkThatTokensAreSafeToSendToAnotherThread(m_pendingTokens.get());
|
| checkThatPreloadsAreSafeToSendToAnotherThread(m_pendingPreloads);
|
| checkThatXSSInfosAreSafeToSendToAnotherThread(m_pendingXSSInfos);
|
|
|