From d11f84f5b5cdc0d92a08af01b13472fdd5f9acb9 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 11 Jan 2012 10:03:25 +0100 Subject: Imported WebKit commit 75bb2fc5882d2e1b3d5572c2961507996cbca5e3 (http://svn.webkit.org/repository/webkit/trunk@104681) --- Source/WebCore/html/HTMLTableRowElement.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/WebCore/html/HTMLTableRowElement.cpp') diff --git a/Source/WebCore/html/HTMLTableRowElement.cpp b/Source/WebCore/html/HTMLTableRowElement.cpp index 5ec3bce2b..cc5f90767 100644 --- a/Source/WebCore/html/HTMLTableRowElement.cpp +++ b/Source/WebCore/html/HTMLTableRowElement.cpp @@ -120,7 +120,7 @@ int HTMLTableRowElement::sectionRowIndex() const PassRefPtr HTMLTableRowElement::insertCell(int index, ExceptionCode& ec) { - RefPtr children = cells(); + HTMLCollection* children = cells(); int numCells = children ? children->length() : 0; if (index < -1 || index > numCells) { ec = INDEX_SIZE_ERR; @@ -143,7 +143,7 @@ PassRefPtr HTMLTableRowElement::insertCell(int index, ExceptionCode void HTMLTableRowElement::deleteCell(int index, ExceptionCode& ec) { - RefPtr children = cells(); + HTMLCollection* children = cells(); int numCells = children ? children->length() : 0; if (index == -1) index = numCells-1; @@ -154,7 +154,7 @@ void HTMLTableRowElement::deleteCell(int index, ExceptionCode& ec) ec = INDEX_SIZE_ERR; } -PassRefPtr HTMLTableRowElement::cells() +HTMLCollection* HTMLTableRowElement::cells() { return ensureCachedHTMLCollection(TRCells); } -- cgit v1.2.1