Index: Source/core/svg/SVGElement.cpp |
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp |
index 44dbbc0e9d3cade38236d8e70c53cb88afcf4cea..aa4e6a3056312e619babf94e56ced21ab07d6f6f 100644 |
--- a/Source/core/svg/SVGElement.cpp |
+++ b/Source/core/svg/SVGElement.cpp |
@@ -71,7 +71,7 @@ void mapAttributeToCSSProperty(HashMap<StringImpl*, CSSPropertyID>* propertyName |
SVGElement::SVGElement(const QualifiedName& tagName, Document& document, ConstructionType constructionType) |
: Element(tagName, &document, constructionType) |
-#if !ASSERT_DISABLED |
+#if ASSERT_ENABLED |
, m_inRelativeLengthClientsInvalidation(false) |
#endif |
// |m_isContextElement| must be initialized before |m_className|, as SVGAnimatedString tear-off c-tor currently set this to true. |
@@ -469,7 +469,7 @@ void SVGElement::invalidateRelativeLengthClients(SubtreeLayoutScope* layoutScope |
return; |
ASSERT(!m_inRelativeLengthClientsInvalidation); |
-#if !ASSERT_DISABLED |
+#if ASSERT_ENABLED |
TemporaryChange<bool> inRelativeLengthClientsInvalidationChange(m_inRelativeLengthClientsInvalidation, true); |
#endif |