| Index: third_party/WebKit/Source/core/style/ComputedStyle.h
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| index aec7897bd7a05b7d2ddeb79e0ff2b82a5640f26b..bbdc1f28a7cd3db9079663cd4ddbb7fed1c0f5e9 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| @@ -482,6 +482,8 @@ public:
|
| bool hasUniquePseudoStyle() const;
|
| bool hasPseudoElementStyle() const;
|
|
|
| + // Note: canContainAbsolutePositionObjects should return true if canContainFixedPositionObjects.
|
| + // We currently never use this value directly, always OR'ing it with canContainFixedPositionObjects.
|
| bool canContainAbsolutePositionObjects() const { return position() != StaticPosition; }
|
| bool canContainFixedPositionObjects() const { return hasTransformRelatedProperty() || containsPaint();}
|
|
|
|
|