| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 COMPILE_ASSERT(sizeof(RenderInline) == sizeof(SameSizeAsRenderInline), RenderInl
ine_should_stay_small); | 49 COMPILE_ASSERT(sizeof(RenderInline) == sizeof(SameSizeAsRenderInline), RenderInl
ine_should_stay_small); |
| 50 | 50 |
| 51 RenderInline::RenderInline(Element* element) | 51 RenderInline::RenderInline(Element* element) |
| 52 : RenderBoxModelObject(element) | 52 : RenderBoxModelObject(element) |
| 53 { | 53 { |
| 54 setChildrenInline(true); | 54 setChildrenInline(true); |
| 55 } | 55 } |
| 56 | 56 |
| 57 void RenderInline::trace(Visitor* visitor) | |
| 58 { | |
| 59 visitor->trace(m_children); | |
| 60 RenderBoxModelObject::trace(visitor); | |
| 61 } | |
| 62 | |
| 63 RenderInline* RenderInline::createAnonymous(Document* document) | 57 RenderInline* RenderInline::createAnonymous(Document* document) |
| 64 { | 58 { |
| 65 RenderInline* renderer = new RenderInline(0); | 59 RenderInline* renderer = new RenderInline(0); |
| 66 renderer->setDocumentForAnonymous(document); | 60 renderer->setDocumentForAnonymous(document); |
| 67 return renderer; | 61 return renderer; |
| 68 } | 62 } |
| 69 | 63 |
| 70 void RenderInline::willBeDestroyed() | 64 void RenderInline::willBeDestroyed() |
| 71 { | 65 { |
| 72 #if ENABLE(ASSERT) | 66 #if ENABLE(ASSERT) |
| (...skipping 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1493 pixelSnappedBox.maxY(), | 1487 pixelSnappedBox.maxY(), |
| 1494 pixelSnappedBox.maxX() + outlineWidth, | 1488 pixelSnappedBox.maxX() + outlineWidth, |
| 1495 pixelSnappedBox.maxY() + outlineWidth, | 1489 pixelSnappedBox.maxY() + outlineWidth, |
| 1496 BSBottom, outlineColor, outlineStyle, | 1490 BSBottom, outlineColor, outlineStyle, |
| 1497 outlineWidth, | 1491 outlineWidth, |
| 1498 outlineWidth, | 1492 outlineWidth, |
| 1499 antialias); | 1493 antialias); |
| 1500 } | 1494 } |
| 1501 | 1495 |
| 1502 } // namespace blink | 1496 } // namespace blink |
| OLD | NEW |