Index: Source/core/html/LabelableElement.cpp |
diff --git a/Source/core/html/LabelableElement.cpp b/Source/core/html/LabelableElement.cpp |
index a3c67d0802e0cb4b722aea498ec92772c30757d3..d35d399307a8e957824433796a2e8b53cbdd6652 100644 |
--- a/Source/core/html/LabelableElement.cpp |
+++ b/Source/core/html/LabelableElement.cpp |
@@ -44,7 +44,7 @@ PassRefPtrWillBeRawPtr<LabelsNodeList> LabelableElement::labels() |
if (!supportLabels()) |
return nullptr; |
- return ensureRareData().ensureNodeLists().addCache<LabelsNodeList>(*this, LabelsNodeListType); |
+ return ensureCachedCollection<LabelsNodeList>(LabelsNodeListType); |
} |
void LabelableElement::trace(Visitor* visitor) |