| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 5d44d09f898d59f6fe7ef3f2e44b83a5e5684ded..b0b0ec97452d84b8a7b5899971a5ff89e0d76ce4 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -865,7 +865,7 @@ PassRefPtr<Node> Document::importNode(Node* importedNode, bool deep, ExceptionSt
|
| RefPtr<Node> newChild = importNode(oldChild, true, es);
|
| if (es.hadException())
|
| return 0;
|
| - newElement->appendChild(newChild.release(), es);
|
| + newElement->appendChild(newChild.release(), es, DeprecatedAttachNow);
|
| if (es.hadException())
|
| return 0;
|
| }
|
| @@ -888,7 +888,7 @@ PassRefPtr<Node> Document::importNode(Node* importedNode, bool deep, ExceptionSt
|
| RefPtr<Node> newChild = importNode(oldChild, true, es);
|
| if (es.hadException())
|
| return 0;
|
| - newFragment->appendChild(newChild.release(), es);
|
| + newFragment->appendChild(newChild.release(), es, DeprecatedAttachNow);
|
| if (es.hadException())
|
| return 0;
|
| }
|
|
|