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 10 matching lines...) Expand all Loading... |
21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
22 * Boston, MA 02110-1301, USA. | 22 * Boston, MA 02110-1301, USA. |
23 */ | 23 */ |
24 | 24 |
25 #include "config.h" | 25 #include "config.h" |
26 #include "core/rendering/RenderTableRow.h" | 26 #include "core/rendering/RenderTableRow.h" |
27 | 27 |
28 #include "HTMLNames.h" | 28 #include "HTMLNames.h" |
29 #include "core/dom/Document.h" | 29 #include "core/dom/Document.h" |
30 #include "core/fetch/ImageResource.h" | 30 #include "core/fetch/ImageResource.h" |
| 31 #include "core/rendering/GraphicsContextAnnotator.h" |
31 #include "core/rendering/HitTestResult.h" | 32 #include "core/rendering/HitTestResult.h" |
32 #include "core/rendering/PaintInfo.h" | 33 #include "core/rendering/PaintInfo.h" |
33 #include "core/rendering/RenderTableCell.h" | 34 #include "core/rendering/RenderTableCell.h" |
34 #include "core/rendering/RenderView.h" | 35 #include "core/rendering/RenderView.h" |
35 #include "core/rendering/SubtreeLayoutScope.h" | 36 #include "core/rendering/SubtreeLayoutScope.h" |
36 #include "core/rendering/style/StyleInheritedData.h" | 37 #include "core/rendering/style/StyleInheritedData.h" |
37 | 38 |
38 namespace WebCore { | 39 namespace WebCore { |
39 | 40 |
40 using namespace HTMLNames; | 41 using namespace HTMLNames; |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 | 276 |
276 RenderTableRow* RenderTableRow::createAnonymousWithParentRenderer(const RenderOb
ject* parent) | 277 RenderTableRow* RenderTableRow::createAnonymousWithParentRenderer(const RenderOb
ject* parent) |
277 { | 278 { |
278 RenderTableRow* newRow = RenderTableRow::createAnonymous(&parent->document()
); | 279 RenderTableRow* newRow = RenderTableRow::createAnonymous(&parent->document()
); |
279 RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(
parent->style(), TABLE_ROW); | 280 RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(
parent->style(), TABLE_ROW); |
280 newRow->setStyle(newStyle.release()); | 281 newRow->setStyle(newStyle.release()); |
281 return newRow; | 282 return newRow; |
282 } | 283 } |
283 | 284 |
284 } // namespace WebCore | 285 } // namespace WebCore |
OLD | NEW |