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. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. |
4 * All rights reserved. | 4 * 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 if (document().svgExtensions()) | 270 if (document().svgExtensions()) |
271 document() | 271 document() |
272 .accessSVGExtensions() | 272 .accessSVGExtensions() |
273 .invalidateSVGRootsWithRelativeLengthDescendents(&layoutScope); | 273 .invalidateSVGRootsWithRelativeLengthDescendents(&layoutScope); |
274 } | 274 } |
275 | 275 |
276 ASSERT(!m_layoutState); | 276 ASSERT(!m_layoutState); |
277 if (!needsLayout()) | 277 if (!needsLayout()) |
278 return; | 278 return; |
279 | 279 |
280 LayoutState rootLayoutState(pageLogicalHeight(), *this); | 280 LayoutState rootLayoutState(*this); |
281 | 281 |
282 layoutContent(); | 282 layoutContent(); |
283 | 283 |
284 #if ENABLE(ASSERT) | 284 #if ENABLE(ASSERT) |
285 checkLayoutState(); | 285 checkLayoutState(); |
286 #endif | 286 #endif |
287 clearNeedsLayout(); | 287 clearNeedsLayout(); |
288 } | 288 } |
289 | 289 |
290 LayoutRect LayoutView::visualOverflowRect() const { | 290 LayoutRect LayoutView::visualOverflowRect() const { |
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 if (block) | 1040 if (block) |
1041 block->adjustChildDebugRect(rect); | 1041 block->adjustChildDebugRect(rect); |
1042 | 1042 |
1043 rect.setWidth(LayoutUnit(viewWidth(IncludeScrollbars))); | 1043 rect.setWidth(LayoutUnit(viewWidth(IncludeScrollbars))); |
1044 rect.setHeight(LayoutUnit(viewHeight(IncludeScrollbars))); | 1044 rect.setHeight(LayoutUnit(viewHeight(IncludeScrollbars))); |
1045 | 1045 |
1046 return rect; | 1046 return rect; |
1047 } | 1047 } |
1048 | 1048 |
1049 } // namespace blink | 1049 } // namespace blink |
OLD | NEW |