| Index: third_party/WebKit/Source/core/svg/SVGTitleElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGTitleElement.cpp b/third_party/WebKit/Source/core/svg/SVGTitleElement.cpp
|
| index a54e2874c68600f22f6b3ba9109d9014208eb195..776093c5119465e70b1deecd98ef0290cc8f386e 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGTitleElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGTitleElement.cpp
|
| @@ -24,6 +24,7 @@
|
| #include "core/dom/ChildListMutationScope.h"
|
| #include "core/dom/Document.h"
|
| #include "core/dom/Text.h"
|
| +#include "wtf/AutoReset.h"
|
|
|
| namespace blink {
|
|
|
| @@ -65,7 +66,7 @@ void SVGTitleElement::setText(const String& value)
|
|
|
| {
|
| // Avoid calling Document::setTitleElement() during intermediate steps.
|
| - TemporaryChange<bool> inhibitTitleUpdateScope(m_ignoreTitleUpdatesWhenChildrenChange, !value.isEmpty());
|
| + AutoReset<bool> inhibitTitleUpdateScope(&m_ignoreTitleUpdatesWhenChildrenChange, !value.isEmpty());
|
| removeChildren(OmitSubtreeModifiedEvent);
|
| }
|
|
|
|
|