| Index: third_party/WebKit/Source/core/layout/LayoutObject.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| index 709f3bba05d33abb9efaceb114c0ba7a0e2ce02f..7196fc300b9a1ec504b41b405ac413a92d46bf37 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| @@ -697,7 +697,7 @@ public:
|
|
|
| bool hasClip() const { return isOutOfFlowPositioned() && !style()->hasAutoClip(); }
|
| bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); }
|
| - bool hasClipOrOverflowClip() const { return hasClip() || hasOverflowClip(); }
|
| + bool hasClipRelatedProperty() const { return hasClip() || hasOverflowClip() || style()->containsPaint(); }
|
|
|
| bool hasTransformRelatedProperty() const { return m_bitfields.hasTransformRelatedProperty(); }
|
| bool hasMask() const { return style() && style()->hasMask(); }
|
| @@ -929,7 +929,7 @@ public:
|
|
|
| bool canContainFixedPositionObjects() const
|
| {
|
| - return isLayoutView() || (hasTransformRelatedProperty() && isLayoutBlock()) || isSVGForeignObject();
|
| + return isLayoutView() || (hasTransformRelatedProperty() && isLayoutBlock()) || isSVGForeignObject() || style()->containsPaint();
|
| }
|
|
|
| // Convert the given local point to absolute coordinates
|
|
|