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

Unified Diff: Source/core/rendering/compositing/RenderLayerCompositor.cpp

Issue 714083003: Revert "Move some scroll invalidations to the paint invalidation phase" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
« Source/core/frame/FrameView.cpp ('K') | « Source/core/rendering/RenderObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/compositing/RenderLayerCompositor.cpp
diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.cpp b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
index 7631e23ea09820be19b28f8488a2edb11c1c3c29..321f9aa33bbb6c5fc3fb762a9f83f721f1b4fad3 100644
--- a/Source/core/rendering/compositing/RenderLayerCompositor.cpp
+++ b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
@@ -297,22 +297,6 @@ void RenderLayerCompositor::updateWithoutAcceleratedCompositing(CompositingUpdat
#endif
}
-static void forceRecomputePaintInvalidationRectsIncludingNonCompositingDescendants(RenderObject* renderer)
-{
- // We clear the previous paint invalidation rect as it's wrong (paint invaliation container
- // changed, ...). Forcing a full invalidation will make us recompute it. Also we are not
- // changing the previous position from our paint invalidation container, which is fine as
- // we want a full paint invalidation anyway.
- renderer->setPreviousPaintInvalidationRect(LayoutRect());
- renderer->setShouldDoFullPaintInvalidation();
-
- for (RenderObject* child = renderer->slowFirstChild(); child; child = child->nextSibling()) {
- if (!child->isPaintInvalidationContainer())
- forceRecomputePaintInvalidationRectsIncludingNonCompositingDescendants(child);
- }
-}
-
-
void RenderLayerCompositor::updateIfNeeded()
{
CompositingUpdateType updateType = m_pendingUpdateType;
« Source/core/frame/FrameView.cpp ('K') | « Source/core/rendering/RenderObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698