| OLD | NEW |
| 1 /** | 1 /** |
| 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) |
| 3 * (C) 1997 Torben Weis (weis@kde.org) | 3 * (C) 1997 Torben Weis (weis@kde.org) |
| 4 * (C) 1998 Waldo Bastian (bastian@kde.org) | 4 * (C) 1998 Waldo Bastian (bastian@kde.org) |
| 5 * (C) 1999 Lars Knoll (knoll@kde.org) | 5 * (C) 1999 Lars Knoll (knoll@kde.org) |
| 6 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 } | 239 } |
| 240 | 240 |
| 241 void RenderTableRow::imageChanged(WrappedImagePtr, const IntRect*) | 241 void RenderTableRow::imageChanged(WrappedImagePtr, const IntRect*) |
| 242 { | 242 { |
| 243 // FIXME: Examine cells and repaint only the rect the image paints in. | 243 // FIXME: Examine cells and repaint only the rect the image paints in. |
| 244 repaint(); | 244 repaint(); |
| 245 } | 245 } |
| 246 | 246 |
| 247 RenderTableRow* RenderTableRow::createAnonymousWithParentRenderer(const RenderOb
ject* parent) | 247 RenderTableRow* RenderTableRow::createAnonymousWithParentRenderer(const RenderOb
ject* parent) |
| 248 { | 248 { |
| 249 RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyle(parent->sty
le()); | 249 RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(
parent->style(), TABLE_ROW); |
| 250 newStyle->setDisplay(TABLE_ROW); | |
| 251 | |
| 252 RenderTableRow* newRow = new (parent->renderArena()) RenderTableRow(parent->
document() /* is anonymous */); | 250 RenderTableRow* newRow = new (parent->renderArena()) RenderTableRow(parent->
document() /* is anonymous */); |
| 253 newRow->setStyle(newStyle.release()); | 251 newRow->setStyle(newStyle.release()); |
| 254 return newRow; | 252 return newRow; |
| 255 } | 253 } |
| 256 | 254 |
| 257 } // namespace WebCore | 255 } // namespace WebCore |
| OLD | NEW |