| Index: Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
|
| diff --git a/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp b/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
|
| index 799fe4a8aa26311aa8b5f3a5e4f195823fa8ce73..50ff9cd1d3819216a28032f5fe0f5f1db4f8e719 100644
|
| --- a/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
|
| +++ b/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
|
| @@ -31,9 +31,9 @@
|
| #include "core/html/HTMLVideoElement.h"
|
| #include "core/layout/Layer.h"
|
| #include "core/layout/LayerReflectionInfo.h"
|
| +#include "core/layout/LayoutPart.h"
|
| #include "core/layout/compositing/CompositedLayerMapping.h"
|
| #include "core/layout/compositing/LayerCompositor.h"
|
| -#include "core/rendering/RenderPart.h"
|
| #include "core/rendering/RenderView.h"
|
|
|
| namespace blink {
|
| @@ -101,8 +101,8 @@ void GraphicsLayerTreeBuilder::rebuild(Layer& layer, AncestorInfo info)
|
|
|
| if (hasCompositedLayerMapping) {
|
| bool parented = false;
|
| - if (layer.renderer()->isRenderPart())
|
| - parented = LayerCompositor::parentFrameContentLayers(toRenderPart(layer.renderer()));
|
| + if (layer.renderer()->isLayoutPart())
|
| + parented = LayerCompositor::parentFrameContentLayers(toLayoutPart(layer.renderer()));
|
|
|
| if (!parented)
|
| currentCompositedLayerMapping->parentForSublayers()->setChildren(layerChildren);
|
|
|