| Index: sky/engine/core/rendering/RenderLayer.cpp
|
| diff --git a/sky/engine/core/rendering/RenderLayer.cpp b/sky/engine/core/rendering/RenderLayer.cpp
|
| index deecbfdad9236b7e34bd708d695d80ed7facd5d4..a3e8e8e4efb6e93f6dcb1b90b3a366b86ecd322f 100644
|
| --- a/sky/engine/core/rendering/RenderLayer.cpp
|
| +++ b/sky/engine/core/rendering/RenderLayer.cpp
|
| @@ -1128,9 +1128,7 @@ RenderLayer* RenderLayer::hitTestChildren(ChildrenIteration childrentoVisit, Ren
|
| bool RenderLayer::intersectsDamageRect(const LayoutRect& layerBounds, const LayoutRect& damageRect, const RenderLayer* rootLayer, const LayoutPoint* offsetFromRoot) const
|
| {
|
| // Always examine the canvas and the root.
|
| - // FIXME: Could eliminate the isDocumentElement() check if we fix background painting so that the RenderView
|
| - // paints the root's background.
|
| - if (isRootLayer() || renderer()->isDocumentElement())
|
| + if (isRootLayer())
|
| return true;
|
|
|
| // If we aren't an inline flow, and our layer bounds do intersect the damage rect, then we
|
|
|