Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: third_party/WebKit/Source/core/html/parser/BackgroundHTMLInputStream.h

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/parser/BackgroundHTMLInputStream.h
diff --git a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLInputStream.h b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLInputStream.h
index 520c240c23776249e7af7bbcaa9fd48577a6118e..7749f61aa4c10022957392d3380d20a90796afd2 100644
--- a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLInputStream.h
+++ b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLInputStream.h
@@ -69,7 +69,7 @@ class BackgroundHTMLInputStream {
size_t numberOfSegmentsAlreadyAppended;
size_t tokensExtractedSincePreviousCheckpoint;
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
bool isNull() const {
return input.isEmpty() && !numberOfSegmentsAlreadyAppended;
}

Powered by Google App Engine
This is Rietveld 408576698