| Index: third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| index ca28a2c62aabbe6da3ad50231c4f87911506fcf2..5ebdd6f1b632681a517a0e87bd03f273c6cb287b 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| @@ -62,9 +62,6 @@ SVGElement::SVGElement(const QualifiedName& tagName,
|
| Document& document,
|
| ConstructionType constructionType)
|
| : Element(tagName, &document, constructionType),
|
| -#if ENABLE(ASSERT)
|
| - m_inRelativeLengthClientsInvalidation(false),
|
| -#endif
|
| m_SVGRareData(nullptr),
|
| m_className(SVGAnimatedString::create(this, HTMLNames::classAttr)) {
|
| addToPropertyMap(m_className);
|
| @@ -554,7 +551,7 @@ void SVGElement::invalidateRelativeLengthClients(
|
| return;
|
|
|
| ASSERT(!m_inRelativeLengthClientsInvalidation);
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| AutoReset<bool> inRelativeLengthClientsInvalidationChange(
|
| &m_inRelativeLengthClientsInvalidation, true);
|
| #endif
|
|
|