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

Unified Diff: Source/core/html/HTMLTableRowsCollection.h

Issue 404403002: Have HTMLTableRowsCollection::item() return an HTMLTableRowElement* (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « Source/core/accessibility/AXTable.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTableRowsCollection.h
diff --git a/Source/core/html/HTMLTableRowsCollection.h b/Source/core/html/HTMLTableRowsCollection.h
index 739a0565d85d85de3c1f25a9ab1ab566b1901c9b..339c218f09802b5b9ce810b63f71cf3df2dbadd1 100644
--- a/Source/core/html/HTMLTableRowsCollection.h
+++ b/Source/core/html/HTMLTableRowsCollection.h
@@ -30,6 +30,7 @@
#define HTMLTableRowsCollection_h
#include "core/html/HTMLCollection.h"
+#include "core/html/HTMLTableRowElement.h"
namespace blink {
@@ -40,6 +41,8 @@ class HTMLTableRowsCollection FINAL : public HTMLCollection {
public:
static PassRefPtrWillBeRawPtr<HTMLTableRowsCollection> create(ContainerNode&, CollectionType);
+ HTMLTableRowElement* item(unsigned offset) const { return toHTMLTableRowElement(HTMLCollection::item(offset)); }
+
static HTMLTableRowElement* rowAfter(HTMLTableElement&, HTMLTableRowElement*);
static HTMLTableRowElement* lastRow(HTMLTableElement&);
« no previous file with comments | « Source/core/accessibility/AXTable.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698