| Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| index 23c1b04d6cecad50eb4b35f4c27b992bf514c703..675e2a44aca9ec356e0541e7a96719a531da7147 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -2414,7 +2414,7 @@ bool PaintLayer::backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect)
|
|
|
| // We can't consult child layers if we clip, since they might cover
|
| // parts of the rect that are clipped out.
|
| - if (layoutObject()->hasOverflowClip() || layoutObject()->style()->containsPaint())
|
| + if (layoutObject()->hasClipRelatedProperty())
|
| return false;
|
|
|
| return childBackgroundIsKnownToBeOpaqueInRect(localRect);
|
|
|