Index: Source/core/html/HTMLFormControlsCollection.h |
diff --git a/Source/core/html/HTMLFormControlsCollection.h b/Source/core/html/HTMLFormControlsCollection.h |
index cf5f070594e1861908f3e353e4c129e9d7f19321..a21a115c80c311a19823171e9c4cd210f33fbbde 100644 |
--- a/Source/core/html/HTMLFormControlsCollection.h |
+++ b/Source/core/html/HTMLFormControlsCollection.h |
@@ -46,6 +46,8 @@ public: |
virtual Element* namedItem(const AtomicString& name) const OVERRIDE; |
void namedGetter(const AtomicString& name, bool& radioNodeListEnabled, RefPtrWillBeRawPtr<RadioNodeList>&, bool& elementEnabled, RefPtrWillBeRawPtr<Element>&); |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
private: |
explicit HTMLFormControlsCollection(ContainerNode&); |
@@ -57,7 +59,7 @@ private: |
virtual Element* virtualItemAfter(Element*) const OVERRIDE; |
virtual void invalidateCache(Document* oldDocument = 0) const OVERRIDE; |
- mutable Element* m_cachedElement; |
+ mutable RawPtrWillBeMember<Element> m_cachedElement; |
mutable unsigned m_cachedElementOffsetInArray; |
}; |