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

Unified Diff: Source/core/dom/Document.h

Issue 173303004: Clone template contents in importNode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Also clone children as normal for template Created 6 years, 10 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 | « no previous file | 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/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 302d1d4107ea0072a4a609e7964c3dcb910478d8..0777a72d99bf2f695ed974af1b3544940862fd0c 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -1059,6 +1059,8 @@ protected:
virtual PassRefPtr<Document> cloneDocumentWithoutChildren();
+ bool importContainerNodeChildren(ContainerNode* oldContainerNode, PassRefPtr<ContainerNode> newContainerNode, ExceptionState&);
+
private:
friend class Node;
friend class IgnoreDestructiveWriteCountIncrementer;
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698