Index: third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp b/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp |
index d6b7b67a5be6f0dc9b77a9ee5d262ba697c8d2bd..2314a2701c3d20c4513e214c710952343f4fbc24 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp |
@@ -33,10 +33,6 @@ namespace blink { |
SVGDocumentExtensions::SVGDocumentExtensions(Document* document) |
: m_document(document) |
-#if ENABLE(ASSERT) |
- , |
- m_inRelativeLengthSVGRootsInvalidation(false) |
-#endif |
{ |
} |
@@ -259,7 +255,7 @@ bool SVGDocumentExtensions::isSVGRootWithRelativeLengthDescendents( |
void SVGDocumentExtensions::invalidateSVGRootsWithRelativeLengthDescendents( |
SubtreeLayoutScope* scope) { |
ASSERT(!m_inRelativeLengthSVGRootsInvalidation); |
-#if ENABLE(ASSERT) |
+#if DCHECK_IS_ON() |
AutoReset<bool> inRelativeLengthSVGRootsChange( |
&m_inRelativeLengthSVGRootsInvalidation, true); |
#endif |