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

Unified Diff: Source/core/xml/XPathStep.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/xml/XPathNodeSet.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathStep.cpp
diff --git a/Source/core/xml/XPathStep.cpp b/Source/core/xml/XPathStep.cpp
index e98c81d0f93293c3916168d25183f639fe3288c8..1853edc05448a28ef956cc08880b0c9dcfc668f0 100644
--- a/Source/core/xml/XPathStep.cpp
+++ b/Source/core/xml/XPathStep.cpp
@@ -331,7 +331,7 @@ void Step::nodesInAxis(EvaluationContext& evaluationContext, Node* context, Node
case FollowingAxis:
if (context->isAttributeNode()) {
- for (Node& p : NodeTraversal::fromNext(*toAttr(context)->ownerElement())) {
+ for (Node& p : NodeTraversal::startsAfter(*toAttr(context)->ownerElement())) {
if (nodeMatches(evaluationContext, &p, FollowingAxis, nodeTest()))
nodes.append(&p);
}
« no previous file with comments | « Source/core/xml/XPathNodeSet.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698