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

Unified Diff: third_party/WebKit/Source/core/svg/SVGDocumentExtensions.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/SVGDocumentExtensions.h
diff --git a/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.h b/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.h
index 482f8d78ad69e44b9fff36a7249cc3d2be7bc64d..7a4bce97e6db75ff5ab17775143986ea2ffa5793 100644
--- a/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.h
+++ b/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.h
@@ -95,8 +95,8 @@ class SVGDocumentExtensions
// Root SVG elements with relative length descendants.
HeapHashSet<Member<SVGSVGElement>> m_relativeLengthSVGRoots;
FloatPoint m_translate;
-#if ENABLE(ASSERT)
- bool m_inRelativeLengthSVGRootsInvalidation;
+#if DCHECK_IS_ON()
+ bool m_inRelativeLengthSVGRootsInvalidation = false;
#endif
public:
« no previous file with comments | « third_party/WebKit/Source/core/style/GridArea.h ('k') | third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698