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 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1022 rootForPaintInvalidation->invalidateTreeAfterLayout(*rootForPaintInvalidatio
n->containerForPaintInvalidation()); | 1022 rootForPaintInvalidation->invalidateTreeAfterLayout(*rootForPaintInvalidatio
n->containerForPaintInvalidation()); |
1023 | 1023 |
1024 // Invalidate the paint of the frameviews scrollbars if needed | 1024 // Invalidate the paint of the frameviews scrollbars if needed |
1025 if (hasVerticalBarDamage()) | 1025 if (hasVerticalBarDamage()) |
1026 invalidateRect(verticalBarDamage()); | 1026 invalidateRect(verticalBarDamage()); |
1027 if (hasHorizontalBarDamage()) | 1027 if (hasHorizontalBarDamage()) |
1028 invalidateRect(horizontalBarDamage()); | 1028 invalidateRect(horizontalBarDamage()); |
1029 resetScrollbarDamage(); | 1029 resetScrollbarDamage(); |
1030 | 1030 |
1031 m_doFullPaintInvalidation = false; | 1031 m_doFullPaintInvalidation = false; |
| 1032 #ifndef NDEBUG |
| 1033 renderView()->assertSubtreeClearedPaintInvalidationState(); |
| 1034 #endif |
1032 } | 1035 } |
1033 | 1036 |
1034 DocumentLifecycle& FrameView::lifecycle() const | 1037 DocumentLifecycle& FrameView::lifecycle() const |
1035 { | 1038 { |
1036 return m_frame->document()->lifecycle(); | 1039 return m_frame->document()->lifecycle(); |
1037 } | 1040 } |
1038 | 1041 |
1039 void FrameView::gatherDebugLayoutRects(RenderObject* layoutRoot) | 1042 void FrameView::gatherDebugLayoutRects(RenderObject* layoutRoot) |
1040 { | 1043 { |
1041 bool isTracing; | 1044 bool isTracing; |
(...skipping 2234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3276 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) | 3279 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) |
3277 { | 3280 { |
3278 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); | 3281 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); |
3279 if (AXObjectCache* cache = axObjectCache()) { | 3282 if (AXObjectCache* cache = axObjectCache()) { |
3280 cache->remove(scrollbar); | 3283 cache->remove(scrollbar); |
3281 cache->handleScrollbarUpdate(this); | 3284 cache->handleScrollbarUpdate(this); |
3282 } | 3285 } |
3283 } | 3286 } |
3284 | 3287 |
3285 } // namespace WebCore | 3288 } // namespace WebCore |
OLD | NEW |