Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(613)

Unified Diff: Source/core/dom/DOMImplementation.cpp

Issue 22880029: Make AttachBehavior a required argument. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/ContainerNode.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « Source/core/dom/ContainerNode.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698