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

Unified Diff: Source/core/dom/NodeTraversal.cpp

Issue 122373004: Remove unused method - previousSkippingChildrenPostOrder - from NodeTraversal.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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/NodeTraversal.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NodeTraversal.cpp
diff --git a/Source/core/dom/NodeTraversal.cpp b/Source/core/dom/NodeTraversal.cpp
index 631a8b9c741b27c4473e41036afa58f1a4d37429..b5eba511658b779a44fdf5666f002bd6279262ff 100644
--- a/Source/core/dom/NodeTraversal.cpp
+++ b/Source/core/dom/NodeTraversal.cpp
@@ -160,14 +160,5 @@ Node* previousPostOrder(const Node& current, const Node* stayWithin)
return previousAncestorSiblingPostOrder(current, stayWithin);
}
-Node* previousSkippingChildrenPostOrder(const Node& current, const Node* stayWithin)
-{
- if (current == stayWithin)
- return 0;
- if (current.previousSibling())
- return current.previousSibling();
- return previousAncestorSiblingPostOrder(current, stayWithin);
-}
-
}
}
« no previous file with comments | « Source/core/dom/NodeTraversal.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698