| 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/layout/LayoutTableSection.h" | 28 #include "core/layout/LayoutTableSection.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 LayoutTableRow final : public RenderBox { | 35 class LayoutTableRow final : public RenderBox { |
| 36 public: | 36 public: |
| 37 explicit LayoutTableRow(Element*); | 37 explicit LayoutTableRow(Element*); |
| 38 virtual void trace(Visitor*) override; | |
| 39 | 38 |
| 40 LayoutTableCell* firstCell() const; | 39 LayoutTableCell* firstCell() const; |
| 41 LayoutTableCell* lastCell() const; | 40 LayoutTableCell* lastCell() const; |
| 42 | 41 |
| 43 LayoutTableRow* previousRow() const; | 42 LayoutTableRow* previousRow() const; |
| 44 LayoutTableRow* nextRow() const; | 43 LayoutTableRow* 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 | 151 |
| 153 inline LayoutTableRow* LayoutTableSection::lastRow() const | 152 inline LayoutTableRow* LayoutTableSection::lastRow() const |
| 154 { | 153 { |
| 155 ASSERT(children() == virtualChildren()); | 154 ASSERT(children() == virtualChildren()); |
| 156 return toLayoutTableRow(children()->lastChild()); | 155 return toLayoutTableRow(children()->lastChild()); |
| 157 } | 156 } |
| 158 | 157 |
| 159 } // namespace blink | 158 } // namespace blink |
| 160 | 159 |
| 161 #endif // LayoutTableRow_h | 160 #endif // LayoutTableRow_h |
| OLD | NEW |