| Index: Source/core/rendering/RenderLayerBacking.cpp
|
| diff --git a/Source/core/rendering/RenderLayerBacking.cpp b/Source/core/rendering/RenderLayerBacking.cpp
|
| index 7423b135b4a0d022eb141a62b2df1e6a896f805d..746473078d7b19d9bfd75683b2144df172dcb131 100644
|
| --- a/Source/core/rendering/RenderLayerBacking.cpp
|
| +++ b/Source/core/rendering/RenderLayerBacking.cpp
|
| @@ -369,7 +369,7 @@ void RenderLayerBacking::updateAfterLayout(UpdateAfterLayoutFlags flags)
|
| }
|
| }
|
|
|
| - if (flags & NeedsFullRepaint && !paintsIntoWindow() && !paintsIntoCompositedAncestor())
|
| + if (flags & NeedsFullRepaint && !paintsIntoCompositedAncestor())
|
| setContentsNeedDisplay();
|
| }
|
|
|
| @@ -1318,7 +1318,7 @@ bool RenderLayerBacking::hasVisibleNonCompositingDescendantLayers() const
|
|
|
| bool RenderLayerBacking::containsPaintedContent() const
|
| {
|
| - if (isSimpleContainerCompositingLayer() || paintsIntoWindow() || paintsIntoCompositedAncestor() || m_artificiallyInflatedBounds || m_owningLayer->isReflection())
|
| + if (isSimpleContainerCompositingLayer() || paintsIntoCompositedAncestor() || m_artificiallyInflatedBounds || m_owningLayer->isReflection())
|
| return false;
|
|
|
| if (isDirectlyCompositedImage())
|
| @@ -1501,15 +1501,6 @@ GraphicsLayer* RenderLayerBacking::childForSuperlayers() const
|
| return m_graphicsLayer.get();
|
| }
|
|
|
| -bool RenderLayerBacking::paintsIntoWindow() const
|
| -{
|
| - if (m_owningLayer->isRootLayer()) {
|
| - return compositor()->rootLayerAttachment() != RenderLayerCompositor::RootLayerAttachedViaEnclosingFrame;
|
| - }
|
| -
|
| - return false;
|
| -}
|
| -
|
| void RenderLayerBacking::setRequiresOwnBackingStore(bool requiresOwnBacking)
|
| {
|
| if (requiresOwnBacking == m_requiresOwnBackingStore)
|
| @@ -1590,7 +1581,7 @@ void RenderLayerBacking::paintIntoLayer(const GraphicsLayer* graphicsLayer, Grap
|
| const IntRect& paintDirtyRect, // In the coords of rootLayer.
|
| PaintBehavior paintBehavior, GraphicsLayerPaintingPhase paintingPhase)
|
| {
|
| - if (paintsIntoWindow() || paintsIntoCompositedAncestor()) {
|
| + if (paintsIntoCompositedAncestor()) {
|
| ASSERT_NOT_REACHED();
|
| return;
|
| }
|
|
|