| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 58c5960c7c4323ca62f196f3b4981854c56be9ef..9f935b4189bd6674c7acf513476b447a5c580e58 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -1982,7 +1982,7 @@ void LayoutBox::mapLocalToAncestor(const LayoutBoxModelObject* ancestor,
|
| // If this box has a transform or contains paint, it acts as a fixed position
|
| // container for fixed descendants, and may itself also be fixed position. So
|
| // propagate 'fixed' up only if this box is fixed position.
|
| - if (style()->canContainFixedPositionObjects() && !isFixedPos)
|
| + if (canContainFixedPositionObjects() && !isFixedPos)
|
| mode &= ~IsFixed;
|
| else if (isFixedPos)
|
| mode |= IsFixed;
|
| @@ -2001,7 +2001,7 @@ void LayoutBox::mapAncestorToLocal(const LayoutBoxModelObject* ancestor,
|
| // If this box has a transform or contains paint, it acts as a fixed position
|
| // container for fixed descendants, and may itself also be fixed position. So
|
| // propagate 'fixed' up only if this box is fixed position.
|
| - if (style()->canContainFixedPositionObjects() && !isFixedPos)
|
| + if (canContainFixedPositionObjects() && !isFixedPos)
|
| mode &= ~IsFixed;
|
| else if (isFixedPos)
|
| mode |= IsFixed;
|
|
|