| Index: Source/core/dom/Attr.cpp
|
| diff --git a/Source/core/dom/Attr.cpp b/Source/core/dom/Attr.cpp
|
| index e962c77fbd67ca845f6753edadedefdd512d4d60..6b0e04e0c395e6a625b1b96bf0bfe1efce75bfcf 100644
|
| --- a/Source/core/dom/Attr.cpp
|
| +++ b/Source/core/dom/Attr.cpp
|
| @@ -85,7 +85,7 @@ void Attr::createTextChild()
|
| // This does everything appendChild() would do in this situation (assuming m_ignoreChildrenChanged was set),
|
| // but much more efficiently.
|
| textNode->setParentOrShadowHostNode(this);
|
| - treeScope().adoptIfNeeded(textNode.get());
|
| + treeScope().adoptIfNeeded(*textNode);
|
| setFirstChild(textNode.get());
|
| setLastChild(textNode.get());
|
| }
|
|
|