| 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 * (C) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
| 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. |
| 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 using namespace WTF; | 73 using namespace WTF; |
| 74 using namespace Unicode; | 74 using namespace Unicode; |
| 75 | 75 |
| 76 namespace blink { | 76 namespace blink { |
| 77 | 77 |
| 78 using namespace HTMLNames; | 78 using namespace HTMLNames; |
| 79 | 79 |
| 80 struct SameSizeAsLayoutBlock : public LayoutBox { | 80 struct SameSizeAsLayoutBlock : public LayoutBox { |
| 81 LayoutObjectChildList children; | 81 LayoutObjectChildList children; |
| 82 LineBoxList lineBoxes; | |
| 83 uint32_t bitfields; | 82 uint32_t bitfields; |
| 84 }; | 83 }; |
| 85 | 84 |
| 86 static_assert(sizeof(LayoutBlock) == sizeof(SameSizeAsLayoutBlock), "LayoutBlock
should stay small"); | 85 static_assert(sizeof(LayoutBlock) == sizeof(SameSizeAsLayoutBlock), "LayoutBlock
should stay small"); |
| 87 | 86 |
| 88 // This map keeps track of the positioned objects associated with a containing | 87 // This map keeps track of the positioned objects associated with a containing |
| 89 // block. | 88 // block. |
| 90 // | 89 // |
| 91 // This map is populated during layout. It is kept across layouts to handle | 90 // This map is populated during layout. It is kept across layouts to handle |
| 92 // that we skip unchanged sub-trees during layout, in such a way that we are | 91 // that we skip unchanged sub-trees during layout, in such a way that we are |
| (...skipping 1828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1921 for (TrackedLayoutBoxListHashSet::const_iterator it = positionedDescenda
ntSet->begin(); it != end; ++it) { | 1920 for (TrackedLayoutBoxListHashSet::const_iterator it = positionedDescenda
ntSet->begin(); it != end; ++it) { |
| 1922 LayoutBox* currBox = *it; | 1921 LayoutBox* currBox = *it; |
| 1923 ASSERT(!currBox->needsLayout()); | 1922 ASSERT(!currBox->needsLayout()); |
| 1924 } | 1923 } |
| 1925 } | 1924 } |
| 1926 } | 1925 } |
| 1927 | 1926 |
| 1928 #endif | 1927 #endif |
| 1929 | 1928 |
| 1930 } // namespace blink | 1929 } // namespace blink |
| OLD | NEW |