Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index a8c4b570081df7616853c961040b1b1b14286b59..49ca221f528ac5a651a756956fe0c16d6b8df578 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -4227,7 +4227,7 @@ bool Document::hasSVGRootNode() const |
PassRefPtr<HTMLCollection> Document::ensureCachedCollection(CollectionType type) |
{ |
- return ensureRareData()->ensureNodeLists()->addCacheWithAtomicName<HTMLCollection>(this, type); |
+ return ensureRareData().ensureNodeLists()->addCacheWithAtomicName<HTMLCollection>(this, type); |
} |
PassRefPtr<HTMLCollection> Document::images() |
@@ -4279,17 +4279,17 @@ PassRefPtr<HTMLCollection> Document::allForBinding() |
PassRefPtr<HTMLCollection> Document::all() |
{ |
- return ensureRareData()->ensureNodeLists()->addCacheWithAtomicName<HTMLAllCollection>(this, DocAll); |
+ return ensureRareData().ensureNodeLists()->addCacheWithAtomicName<HTMLAllCollection>(this, DocAll); |
} |
PassRefPtr<HTMLCollection> Document::windowNamedItems(const AtomicString& name) |
{ |
- return ensureRareData()->ensureNodeLists()->addCacheWithAtomicName<HTMLNameCollection>(this, WindowNamedItems, name); |
+ return ensureRareData().ensureNodeLists()->addCacheWithAtomicName<HTMLNameCollection>(this, WindowNamedItems, name); |
} |
PassRefPtr<HTMLCollection> Document::documentNamedItems(const AtomicString& name) |
{ |
- return ensureRareData()->ensureNodeLists()->addCacheWithAtomicName<HTMLNameCollection>(this, DocumentNamedItems, name); |
+ return ensureRareData().ensureNodeLists()->addCacheWithAtomicName<HTMLNameCollection>(this, DocumentNamedItems, name); |
} |
void Document::finishedParsing() |