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