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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLToken.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/HTMLToken.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLToken.h b/third_party/WebKit/Source/core/html/parser/HTMLToken.h
index 907b1fd3c234c1a0c8750def1af41ee99e1f7747..10e70ed7c29ac4bc99eafc6887710251cef353df 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLToken.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLToken.h
@@ -86,7 +86,7 @@ class HTMLToken {
static constexpr int kInvalidOffset = -1;
inline void clear() {
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
start = kInvalidOffset;
end = kInvalidOffset;
#endif

Powered by Google App Engine
This is Rietveld 408576698