summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLTableColElement.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-02-03 09:55:33 +0100
committerSimon Hausmann <simon.hausmann@nokia.com>2012-02-03 09:55:33 +0100
commitcd44dc59cdfc39534aef4d417e9f3c412e3be139 (patch)
tree8d89889ba95ed6ec9322e733846cc9cce9d7dff1 /Source/WebCore/html/HTMLTableColElement.cpp
parentd11f84f5b5cdc0d92a08af01b13472fdd5f9acb9 (diff)
downloadqtwebkit-cd44dc59cdfc39534aef4d417e9f3c412e3be139.tar.gz
Imported WebKit commit fce473cb4d55aa9fe9d0b0322a2fffecb731b961 (http://svn.webkit.org/repository/webkit/trunk@106560)
Diffstat (limited to 'Source/WebCore/html/HTMLTableColElement.cpp')
-rw-r--r--Source/WebCore/html/HTMLTableColElement.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/WebCore/html/HTMLTableColElement.cpp b/Source/WebCore/html/HTMLTableColElement.cpp
index 96af70827..10657e682 100644
--- a/Source/WebCore/html/HTMLTableColElement.cpp
+++ b/Source/WebCore/html/HTMLTableColElement.cpp
@@ -77,17 +77,16 @@ void HTMLTableColElement::parseMappedAttribute(Attribute* attr)
HTMLTablePartElement::parseMappedAttribute(attr);
}
-// used by table columns and column groups to share style decls created by the enclosing table.
-void HTMLTableColElement::additionalAttributeStyleDecls(Vector<CSSMutableStyleDeclaration*>& results)
+PassRefPtr<CSSMutableStyleDeclaration> HTMLTableColElement::additionalAttributeStyle()
{
if (!hasLocalName(colgroupTag))
- return;
+ return 0;
ContainerNode* p = parentNode();
while (p && !p->hasTagName(tableTag))
p = p->parentNode();
if (!p)
- return;
- static_cast<HTMLTableElement*>(p)->addSharedGroupDecls(false, results);
+ return 0;
+ return static_cast<HTMLTableElement*>(p)->additionalGroupStyle(false);
}
void HTMLTableColElement::setSpan(int n)