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

Unified Diff: Source/core/editing/EditCommand.cpp

Issue 23739003: Remove getNodesInCommand debug method from Editing commands (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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 | « Source/core/editing/EditCommand.h ('k') | Source/core/editing/InsertIntoTextNodeCommand.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/EditCommand.cpp
diff --git a/Source/core/editing/EditCommand.cpp b/Source/core/editing/EditCommand.cpp
index 824beafb0aefed09ead4bb9ba9721d343a9b9a57..7fdf04e5bfcf8cf3d63faeced988c398da7f150f 100644
--- a/Source/core/editing/EditCommand.cpp
+++ b/Source/core/editing/EditCommand.cpp
@@ -110,12 +110,4 @@ void SimpleEditCommand::doReapply()
doApply();
}
-#ifndef NDEBUG
-void SimpleEditCommand::addNodeAndDescendants(Node* startNode, HashSet<Node*>& nodes)
-{
- for (Node* node = startNode; node; node = NodeTraversal::next(node, startNode))
- nodes.add(node);
-}
-#endif
-
} // namespace WebCore
« no previous file with comments | « Source/core/editing/EditCommand.h ('k') | Source/core/editing/InsertIntoTextNodeCommand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698