Index: Source/core/svg/SVGDocumentExtensions.cpp |
diff --git a/Source/core/svg/SVGDocumentExtensions.cpp b/Source/core/svg/SVGDocumentExtensions.cpp |
index b87e4347395d8574bb443ebdf50feba954c5c77a..b1db9a26c0ebf47116a0102715d2d6395d3586a7 100644 |
--- a/Source/core/svg/SVGDocumentExtensions.cpp |
+++ b/Source/core/svg/SVGDocumentExtensions.cpp |
@@ -39,7 +39,7 @@ namespace WebCore { |
SVGDocumentExtensions::SVGDocumentExtensions(Document* document) |
: m_document(document) |
, m_resourcesCache(adoptPtr(new SVGResourcesCache)) |
-#if !ASSERT_DISABLED |
+#if ASSERT_ENABLED |
, m_inRelativeLengthSVGRootsInvalidation(false) |
#endif |
{ |
@@ -405,7 +405,7 @@ bool SVGDocumentExtensions::isSVGRootWithRelativeLengthDescendents(SVGSVGElement |
void SVGDocumentExtensions::invalidateSVGRootsWithRelativeLengthDescendents(SubtreeLayoutScope* scope) |
{ |
ASSERT(!m_inRelativeLengthSVGRootsInvalidation); |
-#if !ASSERT_DISABLED |
+#if ASSERT_ENABLED |
TemporaryChange<bool> inRelativeLengthSVGRootsChange(m_inRelativeLengthSVGRootsInvalidation, true); |
#endif |