Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index b1fcb7ebdd3b7c4e737b9a38904baba1fab5e388..9f85ee93bf3a2dc8e26e5ad49a0538bbbf05acbe 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -3129,15 +3129,15 @@ PassRefPtr<HTMLCollection> Element::ensureCachedHTMLCollection(CollectionType ty |
if (type == TableRows) { |
ASSERT(hasTagName(tableTag)); |
- return ensureRareData().ensureNodeLists().addCache<HTMLTableRowsCollection>(this, type); |
+ return ensureRareData().ensureNodeLists().addCache<HTMLTableRowsCollection>(*this, type); |
} else if (type == SelectOptions) { |
ASSERT(hasTagName(selectTag)); |
- return ensureRareData().ensureNodeLists().addCache<HTMLOptionsCollection>(this, type); |
+ return ensureRareData().ensureNodeLists().addCache<HTMLOptionsCollection>(*this, type); |
} else if (type == FormControls) { |
ASSERT(hasTagName(formTag) || hasTagName(fieldsetTag)); |
- return ensureRareData().ensureNodeLists().addCache<HTMLFormControlsCollection>(this, type); |
+ return ensureRareData().ensureNodeLists().addCache<HTMLFormControlsCollection>(*this, type); |
} |
- return ensureRareData().ensureNodeLists().addCache<HTMLCollection>(this, type); |
+ return ensureRareData().ensureNodeLists().addCache<HTMLCollection>(*this, type); |
} |
static void scheduleLayerUpdateCallback(Node* node) |