| Index: Source/core/rendering/RenderView.cpp
|
| diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp
|
| index 1f427eacf263053278246ab6960bcd80c7260154..984af4719ea496aeb897199ad0f5d346e8c7caf2 100644
|
| --- a/Source/core/rendering/RenderView.cpp
|
| +++ b/Source/core/rendering/RenderView.cpp
|
| @@ -438,11 +438,6 @@ void RenderView::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| paintObject(paintInfo, paintOffset);
|
| }
|
|
|
| -static inline bool isComposited(RenderObject* object)
|
| -{
|
| - return object->hasLayer() && toRenderLayerModelObject(object)->layer()->isComposited();
|
| -}
|
| -
|
| static inline bool rendererObscuresBackground(RenderObject* rootObject)
|
| {
|
| if (!rootObject)
|
| @@ -454,7 +449,7 @@ static inline bool rendererObscuresBackground(RenderObject* rootObject)
|
| || style->hasTransform())
|
| return false;
|
|
|
| - if (isComposited(rootObject))
|
| + if (rootObject->compositingState() == PaintsIntoOwnBacking)
|
| return false;
|
|
|
| const RenderObject* rootRenderer = rootObject->rendererForRootBackground();
|
|
|