| Index: Source/core/html/HTMLCollection.h
|
| diff --git a/Source/core/html/HTMLCollection.h b/Source/core/html/HTMLCollection.h
|
| index 86f7dd1ac272ae9b828d4a6e45438443d249d5ed..0b1601da4db92e05041f1c58827c0c1201decc90 100644
|
| --- a/Source/core/html/HTMLCollection.h
|
| +++ b/Source/core/html/HTMLCollection.h
|
| @@ -59,8 +59,8 @@ public:
|
| // CollectionIndexCache API.
|
| bool canTraverseBackward() const { return !overridesItemAfter(); }
|
| Element* itemBefore(const Element* previousItem) const;
|
| - Element* traverseToFirstElement(const ContainerNode& root) const;
|
| - Element* traverseForwardToOffset(unsigned offset, Element& currentElement, unsigned& currentOffset, const ContainerNode& root) const;
|
| + Element* traverseToFirstElement() const;
|
| + Element* traverseForwardToOffset(unsigned offset, Element& currentElement, unsigned& currentOffset) const;
|
|
|
| protected:
|
| HTMLCollection(ContainerNode& base, CollectionType, ItemAfterOverrideType);
|
| @@ -108,7 +108,7 @@ protected:
|
| }
|
|
|
| private:
|
| - Element* traverseNextElement(Element& previous, const ContainerNode& root) const;
|
| + Element* traverseNextElement(Element& previous) const;
|
|
|
| void invalidateIdNameCacheMaps(Document* oldDocument = 0) const
|
| {
|
|
|