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

Unified Diff: sky/engine/core/editing/SplitElementCommand.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/editing/RemoveNodePreservingChildrenCommand.cpp ('k') | sky/engine/tonic/dart_converter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/editing/SplitElementCommand.cpp
diff --git a/sky/engine/core/editing/SplitElementCommand.cpp b/sky/engine/core/editing/SplitElementCommand.cpp
index 0c427f4792895ccd562e4f8e240cb16283b15f9c..c9b556094dfa0519a8de95eddc2120d50edb95c4 100644
--- a/sky/engine/core/editing/SplitElementCommand.cpp
+++ b/sky/engine/core/editing/SplitElementCommand.cpp
@@ -83,7 +83,7 @@ void SplitElementCommand::doUnapply()
return;
NodeVector children;
- getChildNodes(*m_element1, children);
+ appendChildNodes(*m_element1, children);
RefPtr<Node> refChild = m_element2->firstChild();
« no previous file with comments | « sky/engine/core/editing/RemoveNodePreservingChildrenCommand.cpp ('k') | sky/engine/tonic/dart_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698