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, 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 317 | 317 |
| 318 // This map holds the collapsed border values for cells with collapsed borde rs. | 318 // This map holds the collapsed border values for cells with collapsed borde rs. |
| 319 // It is held at RenderTableSection level to spare memory consumption by tab le cells. | 319 // It is held at RenderTableSection level to spare memory consumption by tab le cells. |
| 320 WillBeHeapHashMap<pair<RawPtrWillBeMember<const RenderTableCell>, int>, Coll apsedBorderValue > m_cellsCollapsedBorders; | 320 WillBeHeapHashMap<pair<RawPtrWillBeMember<const RenderTableCell>, int>, Coll apsedBorderValue > m_cellsCollapsedBorders; |
| 321 }; | 321 }; |
| 322 | 322 |
| 323 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableSection, isTableSection()); | 323 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableSection, isTableSection()); |
| 324 | 324 |
| 325 } // namespace blink | 325 } // namespace blink |
| 326 | 326 |
| 327 #if ENABLE(OILPAN) | |
|
haraken
2014/10/15 05:26:35
This #if needs to be in the below 'namespace WTF'.
| |
| 327 namespace WTF { | 328 namespace WTF { |
| 328 | 329 |
| 329 #if ENABLE(OILPAN) | |
| 330 template<> struct VectorTraits<blink::RenderTableSection::CellStruct> : VectorTr aitsBase<blink::RenderTableSection::CellStruct> { | |
| 331 static const bool needsDestruction = false; | |
| 332 }; | |
| 333 template<> struct VectorTraits<blink::RenderTableSection::RowStruct> : VectorTra itsBase<blink::RenderTableSection::RowStruct> { | 330 template<> struct VectorTraits<blink::RenderTableSection::RowStruct> : VectorTra itsBase<blink::RenderTableSection::RowStruct> { |
| 334 static const bool needsDestruction = false; | 331 static const bool needsDestruction = false; |
| 335 }; | 332 }; |
| 336 #endif | 333 #endif |
| 337 | 334 |
| 338 } | 335 } |
| 339 | 336 |
| 340 #endif // RenderTableSection_h | 337 #endif // RenderTableSection_h |
| OLD | NEW |