Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: Source/core/frame/FrameView.cpp

Issue 408083002: Revert of Enforce clearing renderers' paint invalidation state (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
1022 rootForPaintInvalidation->invalidateTreeIfNeeded(rootPaintInvalidationState) ; 1022 rootForPaintInvalidation->invalidateTreeIfNeeded(rootPaintInvalidationState) ;
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
1035 } 1032 }
1036 1033
1037 DocumentLifecycle& FrameView::lifecycle() const 1034 DocumentLifecycle& FrameView::lifecycle() const
1038 { 1035 {
1039 return m_frame->document()->lifecycle(); 1036 return m_frame->document()->lifecycle();
1040 } 1037 }
1041 1038
1042 void FrameView::gatherDebugLayoutRects(RenderObject* layoutRoot) 1039 void FrameView::gatherDebugLayoutRects(RenderObject* layoutRoot)
1043 { 1040 {
1044 bool isTracing; 1041 bool isTracing;
(...skipping 2240 matching lines...) Expand 10 before | Expand all | Expand 10 after
3285 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation) 3282 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation)
3286 { 3283 {
3287 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); 3284 ScrollableArea::willRemoveScrollbar(scrollbar, orientation);
3288 if (AXObjectCache* cache = axObjectCache()) { 3285 if (AXObjectCache* cache = axObjectCache()) {
3289 cache->remove(scrollbar); 3286 cache->remove(scrollbar);
3290 cache->handleScrollbarUpdate(this); 3287 cache->handleScrollbarUpdate(this);
3291 } 3288 }
3292 } 3289 }
3293 3290
3294 } // namespace blink 3291 } // namespace blink
OLDNEW
« no previous file with comments | « LayoutTests/platform/linux/svg/custom/use-setAttribute-crash-expected.txt ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698