| 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 846794602022d074be64f05839655c084cc3ca2f..09d8170f5b85ef04e3e097eabe1bb94e165ef624 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| @@ -479,6 +479,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();}
|
|
|
|
|