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

Unified Diff: Source/core/frame/FrameView.cpp

Issue 326443002: Remove CompositingUpdateOnScroll (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayerScrollableArea.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index ac61ff8e038b018b23a0c838fd67af81abc8f9d2..c338a68d95a4d6022c0985459c6532a4804111fb 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -1681,14 +1681,12 @@ void FrameView::updateLayersAndCompositingAfterScrollIfNeeded()
// layout.
if (!m_nestedLayoutCount) {
updateWidgetPositions();
- if (RenderView* renderView = this->renderView())
+ if (RenderView* renderView = this->renderView()) {
renderView->layer()->updateLayerPositionsAfterDocumentScroll();
+ renderView->layer()->setNeedsToUpdateAncestorDependentProperties();
+ renderView->compositor()->setNeedsCompositingUpdate(CompositingUpdateAfterCompositingInputChange);
+ }
}
-
- // Compositing layers may change after scrolling.
- // FIXME: Maybe no longer needed after we land squashing and kill overlap testing?
- if (RenderView* renderView = this->renderView())
- renderView->compositor()->setNeedsCompositingUpdate(CompositingUpdateOnScroll);
}
void FrameView::updateFixedElementPaintInvalidationRectsAfterScroll()
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayerScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698