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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 if (RuntimeEnabledFeatures::repaintAfterLayoutEnabled()) { | 192 if (RuntimeEnabledFeatures::repaintAfterLayoutEnabled()) { |
193 // FIXME: Is this needed with repaint After Layout? | 193 // FIXME: Is this needed with repaint After Layout? |
194 child->setShouldDoFullRepaintAfterLayout(true); | 194 child->setShouldDoFullRepaintAfterLayout(true); |
195 } else { | 195 } else { |
196 child->repaint(); | 196 child->repaint(); |
197 } | 197 } |
198 } | 198 } |
199 } | 199 } |
200 } | 200 } |
201 | 201 |
202 statePusher.pop(); | |
203 // RenderTableSection::layoutRows will set our logical height and width late
r, so it calls updateLayerTransform(). | 202 // RenderTableSection::layoutRows will set our logical height and width late
r, so it calls updateLayerTransform(). |
204 clearNeedsLayout(); | 203 clearNeedsLayout(); |
205 } | 204 } |
206 | 205 |
207 LayoutRect RenderTableRow::clippedOverflowRectForRepaint(const RenderLayerModelO
bject* repaintContainer) const | 206 LayoutRect RenderTableRow::clippedOverflowRectForRepaint(const RenderLayerModelO
bject* repaintContainer) const |
208 { | 207 { |
209 ASSERT(parent()); | 208 ASSERT(parent()); |
210 | 209 |
211 if (repaintContainer == this) | 210 if (repaintContainer == this) |
212 return RenderBox::clippedOverflowRectForRepaint(repaintContainer); | 211 return RenderBox::clippedOverflowRectForRepaint(repaintContainer); |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 | 284 |
286 RenderTableRow* RenderTableRow::createAnonymousWithParentRenderer(const RenderOb
ject* parent) | 285 RenderTableRow* RenderTableRow::createAnonymousWithParentRenderer(const RenderOb
ject* parent) |
287 { | 286 { |
288 RenderTableRow* newRow = RenderTableRow::createAnonymous(&parent->document()
); | 287 RenderTableRow* newRow = RenderTableRow::createAnonymous(&parent->document()
); |
289 RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(
parent->style(), TABLE_ROW); | 288 RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(
parent->style(), TABLE_ROW); |
290 newRow->setStyle(newStyle.release()); | 289 newRow->setStyle(newStyle.release()); |
291 return newRow; | 290 return newRow; |
292 } | 291 } |
293 | 292 |
294 } // namespace WebCore | 293 } // namespace WebCore |
OLD | NEW |