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

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

Issue 323653002: Delete CompositingUpdateAfterLayout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back two lines to fix browser_test Created 6 years, 6 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
« no previous file with comments | « no previous file | Source/core/rendering/compositing/RenderLayerCompositor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 952 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 963
964 performLayout(rootForThisLayout, inSubtreeLayout); 964 performLayout(rootForThisLayout, inSubtreeLayout);
965 965
966 m_layoutSubtreeRoot = 0; 966 m_layoutSubtreeRoot = 0;
967 } // Reset m_layoutSchedulingEnabled to its previous value. 967 } // Reset m_layoutSchedulingEnabled to its previous value.
968 968
969 if (!inSubtreeLayout && !toRenderView(rootForThisLayout)->document().printin g()) 969 if (!inSubtreeLayout && !toRenderView(rootForThisLayout)->document().printin g())
970 adjustViewSize(); 970 adjustViewSize();
971 971
972 layer->updateLayerPositionsAfterLayout(renderView()->layer(), updateLayerPos itionFlags(layer, inSubtreeLayout, m_doFullPaintInvalidation)); 972 layer->updateLayerPositionsAfterLayout(renderView()->layer(), updateLayerPos itionFlags(layer, inSubtreeLayout, m_doFullPaintInvalidation));
973 renderView()->compositor()->setNeedsCompositingUpdate(CompositingUpdateAfter Layout); 973 renderView()->compositor()->didLayout();
974 974
975 m_layoutCount++; 975 m_layoutCount++;
976 976
977 if (AXObjectCache* cache = rootForThisLayout->document().axObjectCache()) { 977 if (AXObjectCache* cache = rootForThisLayout->document().axObjectCache()) {
978 const KURL& url = rootForThisLayout->document().url(); 978 const KURL& url = rootForThisLayout->document().url();
979 if (url.isValid() && !url.isAboutBlankURL()) 979 if (url.isValid() && !url.isAboutBlankURL())
980 cache->handleLayoutComplete(rootForThisLayout); 980 cache->handleLayoutComplete(rootForThisLayout);
981 } 981 }
982 updateAnnotatedRegions(); 982 updateAnnotatedRegions();
983 983
(...skipping 2279 matching lines...) Expand 10 before | Expand all | Expand 10 after
3263 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation) 3263 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation)
3264 { 3264 {
3265 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); 3265 ScrollableArea::willRemoveScrollbar(scrollbar, orientation);
3266 if (AXObjectCache* cache = axObjectCache()) { 3266 if (AXObjectCache* cache = axObjectCache()) {
3267 cache->remove(scrollbar); 3267 cache->remove(scrollbar);
3268 cache->handleScrollbarUpdate(this); 3268 cache->handleScrollbarUpdate(this);
3269 } 3269 }
3270 } 3270 }
3271 3271
3272 } // namespace WebCore 3272 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/compositing/RenderLayerCompositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698