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

Unified Diff: Source/core/editing/SplitTextNodeCommand.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/SplitTextNodeCommand.h ('k') | Source/core/editing/WrapContentsInDummySpanCommand.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/SplitTextNodeCommand.cpp
diff --git a/Source/core/editing/SplitTextNodeCommand.cpp b/Source/core/editing/SplitTextNodeCommand.cpp
index 81f38af7d869d0b40fd3e256c47a32d03b8a3d72..1399154a9b9b4003634835ef291bd6d199e91071 100644
--- a/Source/core/editing/SplitTextNodeCommand.cpp
+++ b/Source/core/editing/SplitTextNodeCommand.cpp
@@ -103,12 +103,4 @@ void SplitTextNodeCommand::insertText1AndTrimText2()
m_text2->deleteData(0, m_offset, es, DeprecatedAttachNow);
}
-#ifndef NDEBUG
-void SplitTextNodeCommand::getNodesInCommand(HashSet<Node*>& nodes)
-{
- addNodeAndDescendants(m_text1.get(), nodes);
- addNodeAndDescendants(m_text2.get(), nodes);
-}
-#endif
-
} // namespace WebCore
« no previous file with comments | « Source/core/editing/SplitTextNodeCommand.h ('k') | Source/core/editing/WrapContentsInDummySpanCommand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698