| Index: Source/core/rendering/RenderView.cpp
|
| diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp
|
| index 474aff60ac86d42698d581938b1dadec7dea9da3..4669d8a60aa1d628ec51a50b9e4adb1dc9a025c0 100644
|
| --- a/Source/core/rendering/RenderView.cpp
|
| +++ b/Source/core/rendering/RenderView.cpp
|
| @@ -431,11 +431,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)
|
| @@ -447,7 +442,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();
|
|
|