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

Unified Diff: third_party/WebKit/Source/core/svg/SVGElement.h

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: m_domTreeVersion initialization 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/svg/SVGElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.h b/third_party/WebKit/Source/core/svg/SVGElement.h
index 9edb14d39d76144a48dbb5fb1d43180f6e2a02f9..e274cefbdea02031c1e1b336df937c7c34016552 100644
--- a/third_party/WebKit/Source/core/svg/SVGElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGElement.h
@@ -269,8 +269,8 @@ class CORE_EXPORT SVGElement : public Element {
AttributeToPropertyMap;
AttributeToPropertyMap m_attributeToPropertyMap;
-#if ENABLE(ASSERT)
- bool m_inRelativeLengthClientsInvalidation;
+#if DCHECK_IS_ON()
+ bool m_inRelativeLengthClientsInvalidation = false;
#endif
Member<SVGElementRareData> m_SVGRareData;
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp ('k') | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698