Index: Source/core/html/HTMLTableRowsCollection.cpp |
diff --git a/Source/core/html/HTMLTableRowsCollection.cpp b/Source/core/html/HTMLTableRowsCollection.cpp |
index 21efc2cb3945bcc7c270e51f37c3832656d863f8..4c8fd08d49b80efdcec4e2f5950aa65c1e5bf6d4 100644 |
--- a/Source/core/html/HTMLTableRowsCollection.cpp |
+++ b/Source/core/html/HTMLTableRowsCollection.cpp |
@@ -155,13 +155,13 @@ HTMLTableRowElement* HTMLTableRowsCollection::lastRow(HTMLTableElement& table) |
// Must call get() on the table in case that argument is compiled before dereferencing the |
// table to get at the collection cache. Order of argument evaluation is undefined and can |
// differ between compilers. |
-HTMLTableRowsCollection::HTMLTableRowsCollection(ContainerNode* table) |
+HTMLTableRowsCollection::HTMLTableRowsCollection(ContainerNode& table) |
: HTMLCollection(table, TableRows, OverridesItemAfter) |
{ |
ASSERT(isHTMLTableElement(table)); |
} |
-PassRefPtr<HTMLTableRowsCollection> HTMLTableRowsCollection::create(ContainerNode* table, CollectionType) |
+PassRefPtr<HTMLTableRowsCollection> HTMLTableRowsCollection::create(ContainerNode& table, CollectionType) |
{ |
return adoptRef(new HTMLTableRowsCollection(table)); |
} |