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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.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/HTMLTreeBuilder.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.h b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.h
index 216416fa14df10a4940361d46e7471695afd66cc..14efa785b8aa8614477269a0024da1f331cd6ee4 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.h
@@ -245,8 +245,8 @@ class HTMLTreeBuilder final
// https://html.spec.whatwg.org/#frameset-ok-flag
bool m_framesetOk;
-#if ENABLE(ASSERT)
- bool m_isAttached;
+#if DCHECK_IS_ON()
+ bool m_isAttached = true;
#endif
FragmentParsingContext m_fragmentContext;
HTMLConstructionSite m_tree;

Powered by Google App Engine
This is Rietveld 408576698