| 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 } | 261 } |
| 262 | 262 |
| 263 void RenderTableRow::imageChanged(WrappedImagePtr, const IntRect*) | 263 void RenderTableRow::imageChanged(WrappedImagePtr, const IntRect*) |
| 264 { | 264 { |
| 265 // FIXME: Examine cells and repaint only the rect the image paints in. | 265 // FIXME: Examine cells and repaint only the rect the image paints in. |
| 266 repaint(); | 266 repaint(); |
| 267 } | 267 } |
| 268 | 268 |
| 269 RenderTableRow* RenderTableRow::createAnonymous(Document* document) | 269 RenderTableRow* RenderTableRow::createAnonymous(Document* document) |
| 270 { | 270 { |
| 271 RenderTableRow* renderer = new (document->renderArena()) RenderTableRow(0); | 271 RenderTableRow* renderer = new RenderTableRow(0); |
| 272 renderer->setDocumentForAnonymous(document); | 272 renderer->setDocumentForAnonymous(document); |
| 273 return renderer; | 273 return renderer; |
| 274 } | 274 } |
| 275 | 275 |
| 276 RenderTableRow* RenderTableRow::createAnonymousWithParentRenderer(const RenderOb
ject* parent) | 276 RenderTableRow* RenderTableRow::createAnonymousWithParentRenderer(const RenderOb
ject* parent) |
| 277 { | 277 { |
| 278 RenderTableRow* newRow = RenderTableRow::createAnonymous(parent->document())
; | 278 RenderTableRow* newRow = RenderTableRow::createAnonymous(parent->document())
; |
| 279 RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(
parent->style(), TABLE_ROW); | 279 RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(
parent->style(), TABLE_ROW); |
| 280 newRow->setStyle(newStyle.release()); | 280 newRow->setStyle(newStyle.release()); |
| 281 return newRow; | 281 return newRow; |
| 282 } | 282 } |
| 283 | 283 |
| 284 void RenderTableRow::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const | 284 void RenderTableRow::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const |
| 285 { | 285 { |
| 286 MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Rendering)
; | 286 MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Rendering)
; |
| 287 RenderBox::reportMemoryUsage(memoryObjectInfo); | 287 RenderBox::reportMemoryUsage(memoryObjectInfo); |
| 288 info.addMember(m_children, "children"); | 288 info.addMember(m_children, "children"); |
| 289 } | 289 } |
| 290 | 290 |
| 291 } // namespace WebCore | 291 } // namespace WebCore |
| OLD | NEW |