| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 namespace blink { | 45 namespace blink { |
| 46 | 46 |
| 47 RenderInline::RenderInline(Element* element) | 47 RenderInline::RenderInline(Element* element) |
| 48 : RenderBoxModelObject(element) | 48 : RenderBoxModelObject(element) |
| 49 , m_alwaysCreateLineBoxes(false) | 49 , m_alwaysCreateLineBoxes(false) |
| 50 { | 50 { |
| 51 setChildrenInline(true); | 51 setChildrenInline(true); |
| 52 } | 52 } |
| 53 | 53 |
| 54 void RenderInline::trace(Visitor* visitor) | |
| 55 { | |
| 56 visitor->trace(m_children); | |
| 57 RenderBoxModelObject::trace(visitor); | |
| 58 } | |
| 59 | |
| 60 RenderInline* RenderInline::createAnonymous(Document* document) | 54 RenderInline* RenderInline::createAnonymous(Document* document) |
| 61 { | 55 { |
| 62 RenderInline* renderer = new RenderInline(0); | 56 RenderInline* renderer = new RenderInline(0); |
| 63 renderer->setDocumentForAnonymous(document); | 57 renderer->setDocumentForAnonymous(document); |
| 64 return renderer; | 58 return renderer; |
| 65 } | 59 } |
| 66 | 60 |
| 67 void RenderInline::willBeDestroyed() | 61 void RenderInline::willBeDestroyed() |
| 68 { | 62 { |
| 69 #if ENABLE(ASSERT) | 63 #if ENABLE(ASSERT) |
| (...skipping 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1568 | 1562 |
| 1569 void RenderInline::invalidateTreeIfNeeded(const PaintInvalidationState& paintInv
alidationState) | 1563 void RenderInline::invalidateTreeIfNeeded(const PaintInvalidationState& paintInv
alidationState) |
| 1570 { | 1564 { |
| 1571 bool establishesNewPaintInvalidationContainer = isPaintInvalidationContainer
(); | 1565 bool establishesNewPaintInvalidationContainer = isPaintInvalidationContainer
(); |
| 1572 const RenderLayerModelObject& newPaintInvalidationContainer = *adjustComposi
tedContainerForSpecialAncestors(establishesNewPaintInvalidationContainer ? this
: &paintInvalidationState.paintInvalidationContainer()); | 1566 const RenderLayerModelObject& newPaintInvalidationContainer = *adjustComposi
tedContainerForSpecialAncestors(establishesNewPaintInvalidationContainer ? this
: &paintInvalidationState.paintInvalidationContainer()); |
| 1573 PaintInvalidationState childPaintInvalidationState(paintInvalidationState, *
this, newPaintInvalidationContainer); | 1567 PaintInvalidationState childPaintInvalidationState(paintInvalidationState, *
this, newPaintInvalidationContainer); |
| 1574 RenderObject::invalidateTreeIfNeeded(childPaintInvalidationState); | 1568 RenderObject::invalidateTreeIfNeeded(childPaintInvalidationState); |
| 1575 } | 1569 } |
| 1576 | 1570 |
| 1577 } // namespace blink | 1571 } // namespace blink |
| OLD | NEW |