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

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: 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/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();

Powered by Google App Engine
This is Rietveld 408576698