| 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 f417cda7e924dfa9a6c8d8b82ffda4a83e200ad5..28a735b022477aa7a5e280f55323bb5565d0ae2b 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| @@ -964,11 +964,13 @@ public:
|
|
|
| bool canContainAbsolutePositionObjects() const
|
| {
|
| + // Should keep in sync with LayoutBlock::styleWillChange().
|
| return isPositioned() || canContainFixedPositionObjects();
|
| }
|
|
|
| bool canContainFixedPositionObjects() const
|
| {
|
| + // Should keep in sync with LayoutBlock::styleWillChange().
|
| return isLayoutView() || ((hasTransformRelatedProperty() || style()->containsPaint()) && isLayoutBlock()) || isSVGForeignObject();
|
| }
|
|
|
|
|