| 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 Apple Inc. All rights reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. |
| 8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0); | 96 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0); |
| 97 | 97 |
| 98 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 98 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
| 99 | 99 |
| 100 RenderTable* table() const; | 100 RenderTable* table() const; |
| 101 | 101 |
| 102 RenderObjectChildList m_children; | 102 RenderObjectChildList m_children; |
| 103 unsigned m_span; | 103 unsigned m_span; |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 inline RenderTableCol* toRenderTableCol(RenderObject* object) | 106 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableCol, isRenderTableCol()); |
| 107 { | |
| 108 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isRenderTableCol()); | |
| 109 return static_cast<RenderTableCol*>(object); | |
| 110 } | |
| 111 | |
| 112 inline const RenderTableCol* toRenderTableCol(const RenderObject* object) | |
| 113 { | |
| 114 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isRenderTableCol()); | |
| 115 return static_cast<const RenderTableCol*>(object); | |
| 116 } | |
| 117 | |
| 118 // This will catch anyone doing an unnecessary cast. | |
| 119 void toRenderTableCol(const RenderTableCol*); | |
| 120 | 107 |
| 121 } | 108 } |
| 122 | 109 |
| 123 #endif | 110 #endif |
| OLD | NEW |