Index: Source/core/html/HTMLFieldSetElement.cpp |
diff --git a/Source/core/html/HTMLFieldSetElement.cpp b/Source/core/html/HTMLFieldSetElement.cpp |
index 8f28236acd60c19270c7f30730fffb33f373483b..5b9e60f5f5b4d9f16973b4b5fa2d9654d1803e8c 100644 |
--- a/Source/core/html/HTMLFieldSetElement.cpp |
+++ b/Source/core/html/HTMLFieldSetElement.cpp |
@@ -27,6 +27,7 @@ |
#include "core/HTMLNames.h" |
#include "core/dom/ElementTraversal.h" |
+#include "core/dom/NodeListsNodeData.h" |
#include "core/html/HTMLCollection.h" |
#include "core/html/HTMLFormControlsCollection.h" |
#include "core/html/HTMLLegendElement.h" |
@@ -101,7 +102,7 @@ HTMLLegendElement* HTMLFieldSetElement::legend() const |
PassRefPtrWillBeRawPtr<HTMLFormControlsCollection> HTMLFieldSetElement::elements() |
{ |
- return toHTMLFormControlsCollection(ensureCachedHTMLCollection(FormControls).get()); |
+ return ensureCachedCollection<HTMLFormControlsCollection>(FormControls); |
} |
void HTMLFieldSetElement::refreshElementsIfNeeded() const |