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

Unified Diff: third_party/WebKit/Source/core/dom/NodeTraversal.h

Issue 1675163002: Rename ComposedTree to FlatTree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wip Created 4 years, 10 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
Index: third_party/WebKit/Source/core/dom/NodeTraversal.h
diff --git a/third_party/WebKit/Source/core/dom/NodeTraversal.h b/third_party/WebKit/Source/core/dom/NodeTraversal.h
index 61c2c29d6425c4c4de38444978d3c94fe24ca83a..9062ab430104a64f258d5c7ecd56523a4e4bfe5d 100644
--- a/third_party/WebKit/Source/core/dom/NodeTraversal.h
+++ b/third_party/WebKit/Source/core/dom/NodeTraversal.h
@@ -87,7 +87,7 @@ public:
static Node* childAt(const Node& parent, unsigned index) { return childAtTemplate(parent, index); }
static Node* childAt(const ContainerNode& parent, unsigned index) { return childAtTemplate(parent, index); }
- // These functions are provided for matching with |ComposedTreeTraversal|.
+ // These functions are provided for matching with |FlatTreeTraversal|.
static bool hasChildren(const Node& parent) { return firstChild(parent); }
static bool isDescendantOf(const Node& node, const Node& other) { return node.isDescendantOf(&other); }
static Node* firstChild(const Node& parent) { return parent.firstChild(); }

Powered by Google App Engine
This is Rietveld 408576698