OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
954 { | 954 { |
955 if (!m_intervalArena) | 955 if (!m_intervalArena) |
956 m_intervalArena = IntervalArena::create(); | 956 m_intervalArena = IntervalArena::create(); |
957 return m_intervalArena.get(); | 957 return m_intervalArena.get(); |
958 } | 958 } |
959 | 959 |
960 void RenderView::setFixedPositionedObjectsNeedLayout() | 960 void RenderView::setFixedPositionedObjectsNeedLayout() |
961 { | 961 { |
962 ASSERT(m_frameView); | 962 ASSERT(m_frameView); |
963 | 963 |
964 PositionedObjectsListHashSet* positionedObjects = this->positionedObjects(); | 964 ListHashSet<RenderBox*>* positionedObjects = this->positionedObjects(); |
965 if (!positionedObjects) | 965 if (!positionedObjects) |
966 return; | 966 return; |
967 | 967 |
968 PositionedObjectsListHashSet::const_iterator end = positionedObjects->end(); | 968 ListHashSet<RenderBox*>::const_iterator end = positionedObjects->end(); |
969 for (PositionedObjectsListHashSet::const_iterator it = positionedObjects->be
gin(); it != end; ++it) { | 969 for (ListHashSet<RenderBox*>::const_iterator it = positionedObjects->begin()
; it != end; ++it) { |
970 RenderBox* currBox = *it; | 970 RenderBox* currBox = *it; |
971 currBox->setNeedsLayout(true); | 971 currBox->setNeedsLayout(true); |
972 } | 972 } |
973 } | 973 } |
974 | 974 |
975 } // namespace WebCore | 975 } // namespace WebCore |
OLD | NEW |