| Index: third_party/WebKit/Source/core/html/HTMLTitleElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLTitleElement.cpp b/third_party/WebKit/Source/core/html/HTMLTitleElement.cpp
|
| index 29b510603a4f21a4f81b7547c16bb795c1ce5353..9883e755aa6940fcf25f144ba079f24be3e7697e 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLTitleElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLTitleElement.cpp
|
| @@ -29,6 +29,7 @@
|
| #include "core/dom/Text.h"
|
| #include "core/style/ComputedStyle.h"
|
| #include "core/style/StyleInheritedData.h"
|
| +#include "wtf/AutoReset.h"
|
| #include "wtf/text/StringBuilder.h"
|
|
|
| namespace blink {
|
| @@ -83,7 +84,7 @@ void HTMLTitleElement::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);
|
| }
|
|
|
|
|