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

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

Issue 686973002: Remove isUnclippedDescendant. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests Created 6 years, 2 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 | « Source/core/rendering/RenderLayer.h ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/compositing/CompositingInputsUpdater.cpp
diff --git a/Source/core/rendering/compositing/CompositingInputsUpdater.cpp b/Source/core/rendering/compositing/CompositingInputsUpdater.cpp
index 68370a245344066900063944386b6fdcf2fd301e..2514895d0522bc6bc2d5e95ab0bb3577a9b67e3a 100644
--- a/Source/core/rendering/compositing/CompositingInputsUpdater.cpp
+++ b/Source/core/rendering/compositing/CompositingInputsUpdater.cpp
@@ -139,9 +139,7 @@ void CompositingInputsUpdater::updateRecursive(RenderLayer* layer, UpdateType up
properties.ancestorScrollingLayer = parentLayerOnContainingBlockChain;
if (layer->renderer()->isOutOfFlowPositioned() && !layer->subtreeIsInvisible()) {
- const RenderObject* lastScroller = info.lastScrollingAncestor->renderer();
const RenderLayer* clippingLayer = properties.clippingContainer ? properties.clippingContainer->enclosingLayer() : layer->compositor()->rootRenderLayer();
- properties.isUnclippedDescendant = lastScroller != containingBlock && lastScroller->isDescendantOf(containingBlock);
if (hasClippedStackingAncestor(layer, clippingLayer))
properties.clipParent = clippingLayer;
}
« no previous file with comments | « Source/core/rendering/RenderLayer.h ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698