Index: Source/core/html/HTMLFormControlsCollection.h |
diff --git a/Source/core/html/HTMLFormControlsCollection.h b/Source/core/html/HTMLFormControlsCollection.h |
index 45b286ccb780a3649767c3058ac2eaa4a0eed044..3ce4d99ab148ab6b24fb22df4430d9c5aae12494 100644 |
--- a/Source/core/html/HTMLFormControlsCollection.h |
+++ b/Source/core/html/HTMLFormControlsCollection.h |
@@ -52,7 +52,11 @@ private: |
const Vector<FormAssociatedElement*>& formControlElements() const; |
const Vector<HTMLImageElement*>& formImageElements() const; |
- virtual Element* virtualItemAfter(unsigned& offsetInArray, Element*) const OVERRIDE; |
+ virtual Element* virtualItemAfter(Element*) const OVERRIDE; |
+ virtual void invalidateCache() const OVERRIDE; |
+ |
+ mutable Element* m_cachedElement; |
+ mutable unsigned m_cachedElementOffsetInArray; |
}; |
} // namespace |