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

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: 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
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);
eseidel 2015/02/14 00:12:23 I think this is going to be very confusing to read
abarth-chromium 2015/02/14 00:27:19 I can change this back to getChildNodes. The prob
size_t size = children.size();
for (size_t i = 0; i < size; ++i) {

Powered by Google App Engine
This is Rietveld 408576698