Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(812)

Unified Diff: Source/core/html/HTMLTableElement.cpp

Issue 334713006: Use stricter typing for NodeLists throughout the code base (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()

Powered by Google App Engine
This is Rietveld 408576698