| Index: Source/core/dom/DOMImplementation.cpp
|
| diff --git a/Source/core/dom/DOMImplementation.cpp b/Source/core/dom/DOMImplementation.cpp
|
| index 14c51fefa766c6eb8489aa2926b7b4a991575439..83d65270ab4c41600195d6ba5ab391ab2df4a242 100644
|
| --- a/Source/core/dom/DOMImplementation.cpp
|
| +++ b/Source/core/dom/DOMImplementation.cpp
|
| @@ -224,9 +224,9 @@ PassRefPtr<Document> DOMImplementation::createDocument(const String& namespaceUR
|
| }
|
|
|
| if (doctype)
|
| - doc->appendChild(doctype);
|
| + doc->appendChild(doctype, ASSERT_NO_EXCEPTION, DeprecatedAttachNow);
|
| if (documentElement)
|
| - doc->appendChild(documentElement.release());
|
| + doc->appendChild(documentElement.release(), ASSERT_NO_EXCEPTION, DeprecatedAttachNow);
|
|
|
| return doc.release();
|
| }
|
|
|