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/HTMLTableSectionElement.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/WebCore/html/HTMLTableSectionElement.cpp') diff --git a/Source/WebCore/html/HTMLTableSectionElement.cpp b/Source/WebCore/html/HTMLTableSectionElement.cpp index 73a8367af..3297ad624 100644 --- a/Source/WebCore/html/HTMLTableSectionElement.cpp +++ b/Source/WebCore/html/HTMLTableSectionElement.cpp @@ -63,7 +63,7 @@ void HTMLTableSectionElement::additionalAttributeStyleDecls(Vector HTMLTableSectionElement::insertRow(int index, ExceptionCode& ec) { RefPtr row; - RefPtr children = rows(); + HTMLCollection* children = rows(); int numRows = children ? (int)children->length() : 0; if (index < -1 || index > numRows) ec = INDEX_SIZE_ERR; // per the DOM @@ -85,7 +85,7 @@ PassRefPtr HTMLTableSectionElement::insertRow(int index, ExceptionC void HTMLTableSectionElement::deleteRow(int index, ExceptionCode& ec) { - RefPtr children = rows(); + HTMLCollection* children = rows(); int numRows = children ? (int)children->length() : 0; if (index == -1) index = numRows - 1; @@ -149,7 +149,7 @@ void HTMLTableSectionElement::setVAlign(const String &value) setAttribute(valignAttr, value); } -PassRefPtr HTMLTableSectionElement::rows() +HTMLCollection* HTMLTableSectionElement::rows() { return ensureCachedHTMLCollection(TSectionRows); } -- cgit v1.2.1