Index: Source/WebCore/rendering/RenderTableSection.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderTableSection.cpp (revision 118007) |
+++ Source/WebCore/rendering/RenderTableSection.cpp (working copy) |
@@ -1414,9 +1414,7 @@ |
RenderTableSection* RenderTableSection::createAnonymousWithParentRenderer(const RenderObject* parent) |
{ |
- RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyle(parent->style()); |
- newStyle->setDisplay(TABLE_ROW_GROUP); |
- |
+ RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(parent->style(), TABLE_ROW_GROUP); |
RenderTableSection* newSection = new (parent->renderArena()) RenderTableSection(parent->document() /* is anonymous */); |
newSection->setStyle(newStyle.release()); |
return newSection; |