Index: Source/core/html/HTMLTableElement.cpp |
diff --git a/Source/core/html/HTMLTableElement.cpp b/Source/core/html/HTMLTableElement.cpp |
index 5135db8177a3814c1eb37c38afe1708a9583129a..733da58b92b1553a76db15a8c889391cac7e8a26 100644 |
--- a/Source/core/html/HTMLTableElement.cpp |
+++ b/Source/core/html/HTMLTableElement.cpp |
@@ -40,7 +40,6 @@ |
#include "core/html/HTMLTableCaptionElement.h" |
#include "core/html/HTMLTableCellElement.h" |
#include "core/html/HTMLTableRowElement.h" |
-#include "core/html/HTMLTableRowsCollection.h" |
#include "core/html/HTMLTableSectionElement.h" |
#include "core/html/parser/HTMLParserIdioms.h" |
#include "core/rendering/RenderTable.h" |
@@ -556,9 +555,9 @@ const QualifiedName& HTMLTableElement::subResourceAttributeName() const |
return backgroundAttr; |
} |
-PassRefPtrWillBeRawPtr<HTMLCollection> HTMLTableElement::rows() |
+PassRefPtrWillBeRawPtr<HTMLTableRowsCollection> HTMLTableElement::rows() |
{ |
- return ensureCachedHTMLCollection(TableRows); |
+ return toHTMLTableRowsCollection(ensureCachedHTMLCollection(TableRows).get()); |
} |
PassRefPtrWillBeRawPtr<HTMLCollection> HTMLTableElement::tBodies() |