| Index: third_party/WebKit/Source/core/dom/Element.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
|
| index 4505973a65b97337d034af5288a6f719cb03397d..ea515ccc4a08809fe1e7f07d2e69f29b780acbe5 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -3172,7 +3172,7 @@ bool Element::hasNamedNodeMap() const
|
|
|
| inline void Element::updateName(const AtomicString& oldName, const AtomicString& newName)
|
| {
|
| - if (!isConnected() || isInShadowTree())
|
| + if (!isInDocumentTree())
|
| return;
|
|
|
| if (oldName == newName)
|
|
|