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

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

Issue 108343008: Move traverseLiveNodeListFirstElement() to LiveNodeList class (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | « no previous file | Source/core/html/HTMLCollection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/LiveNodeList.h
diff --git a/Source/core/dom/LiveNodeList.h b/Source/core/dom/LiveNodeList.h
index aec68fc0b30260bfbd9644ea2faa5b297c1f0f7f..9f7bfb95584b5473186bd0a8351fbfc1b13f0ddd 100644
--- a/Source/core/dom/LiveNodeList.h
+++ b/Source/core/dom/LiveNodeList.h
@@ -129,7 +129,6 @@ protected:
private:
Node* itemBeforeOrAfterCachedItem(unsigned offset, ContainerNode* root) const;
- Element* traverseLiveNodeListFirstElement(ContainerNode& root) const;
bool isLastItemCloserThanLastOrCachedItem(unsigned offset) const;
bool isFirstItemCloserThanCachedItem(unsigned offset) const;
Node* iterateForPreviousNode(Node* current) const;
@@ -189,6 +188,7 @@ public:
virtual Node* namedItem(const AtomicString&) const OVERRIDE FINAL;
virtual bool nodeMatches(Element*) const = 0;
+ Node* traverseToFirstElement(ContainerNode& root) const;
Node* traverseForwardToOffset(unsigned offset, Node& currentNode, unsigned& currentOffset, ContainerNode* root) const;
private:
« no previous file with comments | « no previous file | Source/core/html/HTMLCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698