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

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

Issue 667403002: Rename nodes/elements traversal function names. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename to startsAt (and startsAfter) Created 6 years, 2 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/dom/VisitedLinkState.cpp ('k') | Source/core/editing/EditingStyle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/CompositeEditCommand.cpp
diff --git a/Source/core/editing/CompositeEditCommand.cpp b/Source/core/editing/CompositeEditCommand.cpp
index 7ee0d836255fcab659bc5daa85fc28e5e7a2cc5a..c59170cdcce1798879caa4ffb3466ca89ffdfa49 100644
--- a/Source/core/editing/CompositeEditCommand.cpp
+++ b/Source/core/editing/CompositeEditCommand.cpp
@@ -811,7 +811,7 @@ void CompositeEditCommand::deleteInsignificantText(const Position& start, const
return;
WillBeHeapVector<RefPtrWillBeMember<Text> > nodes;
- for (Node& node : NodeTraversal::from(start.deprecatedNode())) {
+ for (Node& node : NodeTraversal::startsAt(start.deprecatedNode())) {
if (node.isTextNode())
nodes.append(toText(&node));
if (&node == end.deprecatedNode())
« no previous file with comments | « Source/core/dom/VisitedLinkState.cpp ('k') | Source/core/editing/EditingStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698