| 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 b1f9afc411418302c5ad1a2354a5aae8b7c9b595..b02247e7ca0528356d3f27d9497b85cf21852dbe 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| @@ -51,7 +51,7 @@
|
| #include "core/svg/SVGTitleElement.h"
|
| #include "core/svg/SVGUseElement.h"
|
| #include "core/svg/properties/SVGProperty.h"
|
| -#include "wtf/TemporaryChange.h"
|
| +#include "wtf/AutoReset.h"
|
| #include "wtf/Threading.h"
|
|
|
| namespace blink {
|
| @@ -448,7 +448,7 @@ void SVGElement::invalidateRelativeLengthClients(SubtreeLayoutScope* layoutScope
|
|
|
| ASSERT(!m_inRelativeLengthClientsInvalidation);
|
| #if ENABLE(ASSERT)
|
| - TemporaryChange<bool> inRelativeLengthClientsInvalidationChange(m_inRelativeLengthClientsInvalidation, true);
|
| + AutoReset<bool> inRelativeLengthClientsInvalidationChange(&m_inRelativeLengthClientsInvalidation, true);
|
| #endif
|
|
|
| if (LayoutObject* layoutObject = this->layoutObject()) {
|
|
|