| Index: sky/engine/core/rendering/compositing/GraphicsLayerTreeBuilder.cpp
|
| diff --git a/sky/engine/core/rendering/compositing/GraphicsLayerTreeBuilder.cpp b/sky/engine/core/rendering/compositing/GraphicsLayerTreeBuilder.cpp
|
| index b2eef099d727af91878bf182af24351624f95fd2..93f0d997108a761f31576789152d863f27d9fee4 100644
|
| --- a/sky/engine/core/rendering/compositing/GraphicsLayerTreeBuilder.cpp
|
| +++ b/sky/engine/core/rendering/compositing/GraphicsLayerTreeBuilder.cpp
|
| @@ -29,7 +29,6 @@
|
|
|
| #include "core/html/HTMLMediaElement.h"
|
| #include "core/rendering/RenderLayer.h"
|
| -#include "core/rendering/RenderPart.h"
|
| #include "core/rendering/RenderView.h"
|
| #include "core/rendering/compositing/CompositedLayerMapping.h"
|
| #include "core/rendering/compositing/RenderLayerCompositor.h"
|
| @@ -93,12 +92,7 @@ void GraphicsLayerTreeBuilder::rebuild(RenderLayer& layer, AncestorInfo info)
|
| rebuild(*curNode->layer(), infoForChildren);
|
|
|
| if (hasCompositedLayerMapping) {
|
| - bool parented = false;
|
| - if (layer.renderer()->isRenderPart())
|
| - parented = RenderLayerCompositor::parentFrameContentLayers(toRenderPart(layer.renderer()));
|
| -
|
| - if (!parented)
|
| - currentCompositedLayerMapping->parentForSublayers()->setChildren(layerChildren);
|
| + currentCompositedLayerMapping->parentForSublayers()->setChildren(layerChildren);
|
|
|
| // If the layer has a clipping layer the overflow controls layers will be siblings of the clipping layer.
|
| // Otherwise, the overflow control layers are normal children.
|
|
|