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

Unified Diff: sky/engine/core/editing/RemoveNodePreservingChildrenCommand.cpp

Issue 924203002: Morph the APIs for Node, ParentNode, and Element closer to the specs (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: less Created 5 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 | « sky/engine/core/dom/ParentNode.idl ('k') | sky/engine/core/editing/SplitElementCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/editing/RemoveNodePreservingChildrenCommand.cpp
diff --git a/sky/engine/core/editing/RemoveNodePreservingChildrenCommand.cpp b/sky/engine/core/editing/RemoveNodePreservingChildrenCommand.cpp
index 9f991dbc853be6ea6d9b43ec3af37001e7e9ad53..b375646ed466940c3fcf271b8f20956991e13a00 100644
--- a/sky/engine/core/editing/RemoveNodePreservingChildrenCommand.cpp
+++ b/sky/engine/core/editing/RemoveNodePreservingChildrenCommand.cpp
@@ -43,7 +43,7 @@ void RemoveNodePreservingChildrenCommand::doApply()
{
if (m_node->isContainerNode()) {
NodeVector children;
- getChildNodes(toContainerNode(*m_node), children);
+ appendChildNodes(toContainerNode(*m_node), children);
size_t size = children.size();
for (size_t i = 0; i < size; ++i) {
« no previous file with comments | « sky/engine/core/dom/ParentNode.idl ('k') | sky/engine/core/editing/SplitElementCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698