Chromium Code Reviews| 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, 2010 Apple Inc. All rights reserv ed. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 339 if (m_columns[c].span > 1) | 339 if (m_columns[c].span > 1) |
| 340 return true; | 340 return true; |
| 341 } | 341 } |
| 342 return false; | 342 return false; |
| 343 } | 343 } |
| 344 | 344 |
| 345 short m_hSpacing; | 345 short m_hSpacing; |
| 346 short m_vSpacing; | 346 short m_vSpacing; |
| 347 int m_borderStart; | 347 int m_borderStart; |
| 348 int m_borderEnd; | 348 int m_borderEnd; |
| 349 | |
| 350 BoxPainter m_boxPainter; | |
|
Stephen Chennney
2014/09/09 16:14:37
Ditto.
chrishtr
2014/09/09 16:55:45
See above.
| |
| 349 }; | 351 }; |
| 350 | 352 |
| 351 inline RenderTableSection* RenderTable::topSection() const | 353 inline RenderTableSection* RenderTable::topSection() const |
| 352 { | 354 { |
| 353 ASSERT(!needsSectionRecalc()); | 355 ASSERT(!needsSectionRecalc()); |
| 354 if (m_head) | 356 if (m_head) |
| 355 return m_head; | 357 return m_head; |
| 356 if (m_firstBody) | 358 if (m_firstBody) |
| 357 return m_firstBody; | 359 return m_firstBody; |
| 358 return m_foot; | 360 return m_foot; |
| 359 } | 361 } |
| 360 | 362 |
| 361 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTable, isTable()); | 363 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTable, isTable()); |
| 362 | 364 |
| 363 } // namespace blink | 365 } // namespace blink |
| 364 | 366 |
| 365 #endif // RenderTable_h | 367 #endif // RenderTable_h |
| OLD | NEW |