| 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; | |
| 39 | 38 |
| 40 RenderTableCell* firstCell() const; | 39 RenderTableCell* firstCell() const; |
| 41 RenderTableCell* lastCell() const; | 40 RenderTableCell* lastCell() const; |
| 42 | 41 |
| 43 RenderTableRow* previousRow() const; | 42 RenderTableRow* previousRow() const; |
| 44 RenderTableRow* nextRow() const; | 43 RenderTableRow* nextRow() const; |
| 45 | 44 |
| 46 const RenderObjectChildList* children() const { return &m_children; } | 45 const RenderObjectChildList* children() const { return &m_children; } |
| 47 RenderObjectChildList* children() { return &m_children; } | 46 RenderObjectChildList* children() { return &m_children; } |
| 48 | 47 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 | 150 |
| 152 inline RenderTableRow* RenderTableSection::lastRow() const | 151 inline RenderTableRow* RenderTableSection::lastRow() const |
| 153 { | 152 { |
| 154 ASSERT(children() == virtualChildren()); | 153 ASSERT(children() == virtualChildren()); |
| 155 return toRenderTableRow(children()->lastChild()); | 154 return toRenderTableRow(children()->lastChild()); |
| 156 } | 155 } |
| 157 | 156 |
| 158 } // namespace blink | 157 } // namespace blink |
| 159 | 158 |
| 160 #endif // RenderTableRow_h | 159 #endif // RenderTableRow_h |
| OLD | NEW |