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