| Index: sky/engine/core/rendering/compositing/CompositingInputsUpdater.cpp
|
| diff --git a/sky/engine/core/rendering/compositing/CompositingInputsUpdater.cpp b/sky/engine/core/rendering/compositing/CompositingInputsUpdater.cpp
|
| index 4577990e98c7f42c4b77f139f8114a0a5a4338ee..40c97e3163d41e44ae7083174cc22f19a272be26 100644
|
| --- a/sky/engine/core/rendering/compositing/CompositingInputsUpdater.cpp
|
| +++ b/sky/engine/core/rendering/compositing/CompositingInputsUpdater.cpp
|
| @@ -33,18 +33,7 @@ static const RenderLayer* findParentLayerOnClippingContainerChain(const RenderLa
|
| {
|
| RenderObject* current = layer->renderer();
|
| while (current) {
|
| - if (current->style()->position() == FixedPosition) {
|
| - for (current = current->parent(); current && !current->canContainFixedPositionObjects(); current = current->parent()) {
|
| - // CSS clip applies to fixed position elements even for ancestors that are not what the
|
| - // fixed element is positioned with respect to.
|
| - if (current->hasClip()) {
|
| - ASSERT(current->hasLayer());
|
| - return static_cast<const RenderLayerModelObject*>(current)->layer();
|
| - }
|
| - }
|
| - } else {
|
| - current = current->containingBlock();
|
| - }
|
| + current = current->containingBlock();
|
|
|
| if (current->hasLayer())
|
| return static_cast<const RenderLayerModelObject*>(current)->layer();
|
|
|