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, 2009, 2013 Apple Inc. All rights reserv
ed. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2013 Apple Inc. All rights reserv
ed. |
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 17 matching lines...) Expand all Loading... |
28 #include "core/rendering/RenderTableSection.h" | 28 #include "core/rendering/RenderTableSection.h" |
29 | 29 |
30 namespace blink { | 30 namespace blink { |
31 | 31 |
32 static const unsigned unsetRowIndex = 0x7FFFFFFF; | 32 static const unsigned unsetRowIndex = 0x7FFFFFFF; |
33 static const unsigned maxRowIndex = 0x7FFFFFFE; // 2,147,483,646 | 33 static const unsigned maxRowIndex = 0x7FFFFFFE; // 2,147,483,646 |
34 | 34 |
35 class RenderTableRow FINAL : public RenderBox { | 35 class RenderTableRow FINAL : public RenderBox { |
36 public: | 36 public: |
37 explicit RenderTableRow(Element*); | 37 explicit RenderTableRow(Element*); |
| 38 virtual void trace(Visitor*) OVERRIDE; |
38 | 39 |
39 RenderTableCell* firstCell() const; | 40 RenderTableCell* firstCell() const; |
40 RenderTableCell* lastCell() const; | 41 RenderTableCell* lastCell() const; |
41 | 42 |
42 RenderTableRow* previousRow() const; | 43 RenderTableRow* previousRow() const; |
43 RenderTableRow* nextRow() const; | 44 RenderTableRow* nextRow() const; |
44 | 45 |
45 const RenderObjectChildList* children() const { return &m_children; } | 46 const RenderObjectChildList* children() const { return &m_children; } |
46 RenderObjectChildList* children() { return &m_children; } | 47 RenderObjectChildList* children() { return &m_children; } |
47 | 48 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 | 151 |
151 inline RenderTableRow* RenderTableSection::lastRow() const | 152 inline RenderTableRow* RenderTableSection::lastRow() const |
152 { | 153 { |
153 ASSERT(children() == virtualChildren()); | 154 ASSERT(children() == virtualChildren()); |
154 return toRenderTableRow(children()->lastChild()); | 155 return toRenderTableRow(children()->lastChild()); |
155 } | 156 } |
156 | 157 |
157 } // namespace blink | 158 } // namespace blink |
158 | 159 |
159 #endif // RenderTableRow_h | 160 #endif // RenderTableRow_h |
OLD | NEW |