| Index: Source/core/svg/SVGElement.cpp
|
| diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
|
| index 837222ef47dd39c0a346614f4dc17f53e11a5437..3f6a740ae7a6c1b65dcc70b9783e03dfe20f5050 100644
|
| --- a/Source/core/svg/SVGElement.cpp
|
| +++ b/Source/core/svg/SVGElement.cpp
|
| @@ -57,7 +57,7 @@ using namespace SVGNames;
|
|
|
| SVGElement::SVGElement(const QualifiedName& tagName, Document& document, ConstructionType constructionType)
|
| : Element(tagName, &document, constructionType)
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| , m_inRelativeLengthClientsInvalidation(false)
|
| #endif
|
| // |m_isContextElement| must be initialized before |m_className|, as SVGAnimatedString tear-off c-tor currently set this to true.
|
| @@ -416,7 +416,7 @@ void SVGElement::invalidateRelativeLengthClients(SubtreeLayoutScope* layoutScope
|
| return;
|
|
|
| ASSERT(!m_inRelativeLengthClientsInvalidation);
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| TemporaryChange<bool> inRelativeLengthClientsInvalidationChange(m_inRelativeLengthClientsInvalidation, true);
|
| #endif
|
|
|
| @@ -986,7 +986,7 @@ SVGElement::InstanceUpdateBlocker::~InstanceUpdateBlocker()
|
| m_targetElement->setInstanceUpdatesBlocked(false);
|
| }
|
|
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| bool SVGElement::isAnimatableAttribute(const QualifiedName& name) const
|
| {
|
| DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, animatableAttributes, ());
|
|
|