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

Unified Diff: Source/core/dom/ContainerNode.h

Issue 425223005: Move Node/ContainerNode's traverseToChildAt() to NodeTraversal (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « no previous file | Source/core/dom/ContainerNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ContainerNode.h
diff --git a/Source/core/dom/ContainerNode.h b/Source/core/dom/ContainerNode.h
index 4ff3c6be47fc563b07523e52da7a079ff206b3f2..3750460ac8bd5bbe6b4948cfad9e59d40e00a9b6 100644
--- a/Source/core/dom/ContainerNode.h
+++ b/Source/core/dom/ContainerNode.h
@@ -75,7 +75,6 @@ public:
PassRefPtrWillBeRawPtr<HTMLCollection> children();
unsigned countChildren() const;
- Node* traverseToChildAt(unsigned index) const;
PassRefPtrWillBeRawPtr<Element> querySelector(const AtomicString& selectors, ExceptionState&);
PassRefPtrWillBeRawPtr<StaticNodeList> querySelectorAll(const AtomicString& selectors, ExceptionState&);
@@ -281,13 +280,6 @@ inline unsigned Node::countChildren() const
return toContainerNode(this)->countChildren();
}
-inline Node* Node::traverseToChildAt(unsigned index) const
-{
- if (!isContainerNode())
- return 0;
- return toContainerNode(this)->traverseToChildAt(index);
-}
-
inline Node* Node::firstChild() const
{
if (!isContainerNode())
« no previous file with comments | « no previous file | Source/core/dom/ContainerNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698