Index: Source/core/html/HTMLFieldSetElement.cpp |
diff --git a/Source/core/html/HTMLFieldSetElement.cpp b/Source/core/html/HTMLFieldSetElement.cpp |
index b39c72305ad3d30a44dcff99162d4c6a0427fac8..5c2fd2ec2fce4eb5aacc15447050658cc64ea807 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" |
@@ -103,7 +104,7 @@ HTMLLegendElement* HTMLFieldSetElement::legend() const |
PassRefPtrWillBeRawPtr<HTMLFormControlsCollection> HTMLFieldSetElement::elements() |
{ |
- return toHTMLFormControlsCollection(ensureCachedHTMLCollection(FormControls).get()); |
+ return ensureCachedCollection<HTMLFormControlsCollection>(FormControls); |
} |
void HTMLFieldSetElement::refreshElementsIfNeeded() const |