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

Unified Diff: Source/core/html/HTMLCollection.h

Issue 154693002: Have ChildNodeList subclass NodeList instead of LiveNodeList (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update copyright Created 6 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: Source/core/html/HTMLCollection.h
diff --git a/Source/core/html/HTMLCollection.h b/Source/core/html/HTMLCollection.h
index dc62bd0b4f1cad66e8584a68f115c8fcfc851a40..ab5d48fd3810dbdfadf73926117df112ef9dccc4 100644
--- a/Source/core/html/HTMLCollection.h
+++ b/Source/core/html/HTMLCollection.h
@@ -54,7 +54,7 @@ public:
// CollectionIndexCache API.
bool canTraverseBackward() const { return !overridesItemAfter(); }
- Element* itemBefore(const Node* previousItem) const;
+ Element* itemBefore(const Element* previousItem) const;
Element* traverseToFirstElement(const ContainerNode& root) const;
Element* traverseForwardToOffset(unsigned offset, Element& currentElement, unsigned& currentOffset, const ContainerNode& root) const;

Powered by Google App Engine
This is Rietveld 408576698