summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/html/HTMLTableRowsCollection.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/html/HTMLTableRowsCollection.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/html/HTMLTableRowsCollection.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/chromium/third_party/WebKit/Source/core/html/HTMLTableRowsCollection.h b/chromium/third_party/WebKit/Source/core/html/HTMLTableRowsCollection.h
index d643d430de4..653328e7305 100644
--- a/chromium/third_party/WebKit/Source/core/html/HTMLTableRowsCollection.h
+++ b/chromium/third_party/WebKit/Source/core/html/HTMLTableRowsCollection.h
@@ -38,17 +38,19 @@ class HTMLTableRowElement;
class HTMLTableRowsCollection FINAL : public HTMLCollection {
public:
- static PassRefPtr<HTMLTableRowsCollection> create(Node*, CollectionType);
+ static PassRefPtrWillBeRawPtr<HTMLTableRowsCollection> create(ContainerNode&, CollectionType);
- static HTMLTableRowElement* rowAfter(HTMLTableElement*, HTMLTableRowElement*);
- static HTMLTableRowElement* lastRow(HTMLTableElement*);
+ static HTMLTableRowElement* rowAfter(HTMLTableElement&, HTMLTableRowElement*);
+ static HTMLTableRowElement* lastRow(HTMLTableElement&);
private:
- explicit HTMLTableRowsCollection(Node*);
+ explicit HTMLTableRowsCollection(ContainerNode&);
- virtual Element* virtualItemAfter(unsigned& offsetInArray, Element*) const OVERRIDE;
+ virtual Element* virtualItemAfter(Element*) const OVERRIDE;
};
+DEFINE_TYPE_CASTS(HTMLTableRowsCollection, LiveNodeListBase, collection, collection->type() == TableRows, collection.type() == TableRows);
+
} // namespace
#endif