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

Unified Diff: Source/core/dom/Node.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/ElementTraversal.h ('k') | Source/core/dom/NodeTraversal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index 4683901ebaa6ddf8c944dee292daafe566a277b0..e434c5c1d5e5a8585ec4892afa5d5a5f3ffc49fc 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -1878,7 +1878,7 @@ void Node::removeAllEventListeners()
void Node::removeAllEventListenersRecursively()
{
- for (Node& node : NodeTraversal::from(this)) {
+ for (Node& node : NodeTraversal::startsAt(this)) {
node.removeAllEventListeners();
for (ShadowRoot* root = node.youngestShadowRoot(); root; root = root->olderShadowRoot())
root->removeAllEventListenersRecursively();
« no previous file with comments | « Source/core/dom/ElementTraversal.h ('k') | Source/core/dom/NodeTraversal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698