Index: Source/core/html/HTMLTableElement.cpp |
diff --git a/Source/core/html/HTMLTableElement.cpp b/Source/core/html/HTMLTableElement.cpp |
index 926f09a4c4b0c69b3dd5fd90e64d0b4e4059a263..8f83b6d4ce47fb10c1c461e48e9e2dc6925e9522 100644 |
--- a/Source/core/html/HTMLTableElement.cpp |
+++ b/Source/core/html/HTMLTableElement.cpp |
@@ -36,6 +36,7 @@ |
#include "core/dom/Attribute.h" |
#include "core/dom/ElementTraversal.h" |
#include "core/dom/ExceptionCode.h" |
+#include "core/dom/NodeListsNodeData.h" |
#include "core/frame/UseCounter.h" |
#include "core/html/HTMLTableCaptionElement.h" |
#include "core/html/HTMLTableCellElement.h" |
@@ -558,12 +559,12 @@ const QualifiedName& HTMLTableElement::subResourceAttributeName() const |
PassRefPtrWillBeRawPtr<HTMLTableRowsCollection> HTMLTableElement::rows() |
{ |
- return toHTMLTableRowsCollection(ensureCachedHTMLCollection(TableRows).get()); |
+ return ensureCachedCollection<HTMLTableRowsCollection>(TableRows); |
} |
PassRefPtrWillBeRawPtr<HTMLCollection> HTMLTableElement::tBodies() |
{ |
- return ensureCachedHTMLCollection(TableTBodies); |
+ return ensureCachedCollection<HTMLCollection>(TableTBodies); |
} |
const AtomicString& HTMLTableElement::rules() const |