| 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, 2009, 2013 Apple Inc. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2013 Apple Inc. |
| 8 * All rights reserved. | 8 * All rights reserved. |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 if (!has_row_span_) | 97 if (!has_row_span_) |
| 98 return 1; | 98 return 1; |
| 99 return ParseRowSpanFromDOM(); | 99 return ParseRowSpanFromDOM(); |
| 100 } | 100 } |
| 101 | 101 |
| 102 // Called from HTMLTableCellElement. | 102 // Called from HTMLTableCellElement. |
| 103 void ColSpanOrRowSpanChanged(); | 103 void ColSpanOrRowSpanChanged(); |
| 104 | 104 |
| 105 void SetAbsoluteColumnIndex(unsigned column) { | 105 void SetAbsoluteColumnIndex(unsigned column) { |
| 106 if (UNLIKELY(column > kMaxColumnIndex)) | 106 if (UNLIKELY(column > kMaxColumnIndex)) |
| 107 CRASH(); | 107 IMMEDIATE_CRASH(); |
| 108 | 108 |
| 109 absolute_column_index_ = column; | 109 absolute_column_index_ = column; |
| 110 } | 110 } |
| 111 | 111 |
| 112 bool HasSetAbsoluteColumnIndex() const { | 112 bool HasSetAbsoluteColumnIndex() const { |
| 113 return absolute_column_index_ != kUnsetColumnIndex; | 113 return absolute_column_index_ != kUnsetColumnIndex; |
| 114 } | 114 } |
| 115 | 115 |
| 116 unsigned AbsoluteColumnIndex() const { | 116 unsigned AbsoluteColumnIndex() const { |
| 117 DCHECK(HasSetAbsoluteColumnIndex()); | 117 DCHECK(HasSetAbsoluteColumnIndex()); |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 return ToLayoutTableCell(FirstChild()); | 486 return ToLayoutTableCell(FirstChild()); |
| 487 } | 487 } |
| 488 | 488 |
| 489 inline LayoutTableCell* LayoutTableRow::LastCell() const { | 489 inline LayoutTableCell* LayoutTableRow::LastCell() const { |
| 490 return ToLayoutTableCell(LastChild()); | 490 return ToLayoutTableCell(LastChild()); |
| 491 } | 491 } |
| 492 | 492 |
| 493 } // namespace blink | 493 } // namespace blink |
| 494 | 494 |
| 495 #endif // LayoutTableCell_h | 495 #endif // LayoutTableCell_h |
| OLD | NEW |