Index: third_party/WebKit/Source/core/dom/shadow/ComposedTreeTraversal.h |
diff --git a/third_party/WebKit/Source/core/dom/shadow/ComposedTreeTraversal.h b/third_party/WebKit/Source/core/dom/shadow/ComposedTreeTraversal.h |
index 844f490a7c697e57ba88e162e36feb3c7dc255e6..9a5e7cc64f5f6029fb59b738568257b5a551154a 100644 |
--- a/third_party/WebKit/Source/core/dom/shadow/ComposedTreeTraversal.h |
+++ b/third_party/WebKit/Source/core/dom/shadow/ComposedTreeTraversal.h |
@@ -140,7 +140,6 @@ private: |
} |
static Node* resolveDistributionStartingAt(const Node*, TraversalDirection); |
- static Node* v1ResolveDistributionStartingAt(const Node&, TraversalDirection); |
static Node* v0ResolveDistributionStartingAt(const Node&, TraversalDirection); |
static Node* traverseNext(const Node&); |
@@ -154,19 +153,16 @@ private: |
static ContainerNode* traverseParent(const Node&, ParentTraversalDetails* = 0); |
// TODO(hayato): Make ParentTraversalDetails be aware of slot elements too. |
- static ContainerNode* v1TraverseParent(const Node&); |
- static ContainerNode* v0TraverseParent(const Node&, ParentTraversalDetails* = 0); |
+ static ContainerNode* traverseParentForV0(const Node&, ParentTraversalDetails* = 0); |
+ static ContainerNode* traverseParentOrHost(const Node&); |
static Node* traverseNextSibling(const Node&); |
static Node* traversePreviousSibling(const Node&); |
static Node* traverseSiblings(const Node&, TraversalDirection); |
- static Node* v1TraverseSiblings(const Node&, TraversalDirection); |
- static Node* v0TraverseSiblings(const Node&, TraversalDirection); |
- |
- static Node* traverseSiblingsOrShadowInsertionPointSiblings(const Node&, TraversalDirection); |
+ static Node* traverseSiblingsForV1HostChild(const Node&, TraversalDirection); |
+ static Node* traverseSiblingsForV0Distribution(const Node&, TraversalDirection); |
- static ContainerNode* traverseParentOrHost(const Node&); |
static Node* traverseNextAncestorSibling(const Node&); |
static Node* traversePreviousAncestorSibling(const Node&); |
}; |