OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
5 * 2000 Dirk Mueller <mueller@kde.org> | 5 * 2000 Dirk Mueller <mueller@kde.org> |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
9 * Copyright (C) 2009 Google Inc. All rights reserved. | 9 * Copyright (C) 2009 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 2587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2598 m_frame->document()->updateRenderTreeIfNeeded(); | 2598 m_frame->document()->updateRenderTreeIfNeeded(); |
2599 | 2599 |
2600 if (needsLayout()) | 2600 if (needsLayout()) |
2601 layout(); | 2601 layout(); |
2602 } | 2602 } |
2603 | 2603 |
2604 // These asserts ensure that parent frames are clean, when child frames fini
shed updating layout and style. | 2604 // These asserts ensure that parent frames are clean, when child frames fini
shed updating layout and style. |
2605 ASSERT(!needsLayout()); | 2605 ASSERT(!needsLayout()); |
2606 ASSERT(!m_frame->document()->hasSVGFilterElementsRequiringLayerUpdate()); | 2606 ASSERT(!m_frame->document()->hasSVGFilterElementsRequiringLayerUpdate()); |
2607 #if ENABLE(ASSERT) | 2607 #if ENABLE(ASSERT) |
2608 m_frame->document()->layoutView()->assertRendererLaidOut(); | 2608 m_frame->document()->layoutView()->assertLaidOut(); |
2609 #endif | 2609 #endif |
2610 | 2610 |
2611 updateWidgetPositionsIfNeeded(); | 2611 updateWidgetPositionsIfNeeded(); |
2612 } | 2612 } |
2613 | 2613 |
2614 void FrameView::invalidateTreeIfNeededRecursive() | 2614 void FrameView::invalidateTreeIfNeededRecursive() |
2615 { | 2615 { |
2616 // FIXME: We should be more aggressive at cutting tree traversals. | 2616 // FIXME: We should be more aggressive at cutting tree traversals. |
2617 lifecycle().advanceTo(DocumentLifecycle::InPaintInvalidation); | 2617 lifecycle().advanceTo(DocumentLifecycle::InPaintInvalidation); |
2618 | 2618 |
(...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3986 { | 3986 { |
3987 Settings* settings = frame().settings(); | 3987 Settings* settings = frame().settings(); |
3988 if (!settings || !settings->rootLayerScrolls()) | 3988 if (!settings || !settings->rootLayerScrolls()) |
3989 return this; | 3989 return this; |
3990 | 3990 |
3991 LayoutView* layoutView = this->layoutView(); | 3991 LayoutView* layoutView = this->layoutView(); |
3992 return layoutView ? layoutView->scrollableArea() : nullptr; | 3992 return layoutView ? layoutView->scrollableArea() : nullptr; |
3993 } | 3993 } |
3994 | 3994 |
3995 } // namespace blink | 3995 } // namespace blink |
OLD | NEW |