| Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| index 1f9148f70c35bc50321b277d0a6b01410f2b6fb7..4e69c5914557c34f4ac5c11f9a6d127be38b6507 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -838,6 +838,12 @@ void PaintLayer::UpdateLayerPosition() {
|
|
|
| if (GetLayoutObject().IsInFlowPositioned()) {
|
| LayoutSize new_offset = GetLayoutObject().OffsetForInFlowPosition();
|
| + if (GetLayoutObject().Style()->GetPosition() == EPosition::kSticky &&
|
| + !HasCompositedLayerMapping() &&
|
| + OffsetForInFlowPosition() != new_offset) {
|
| + ObjectPaintInvalidator(GetLayoutObject())
|
| + .InvalidatePaintIncludingNonCompositingDescendants();
|
| + }
|
| if (rare_data_ || !new_offset.IsZero())
|
| EnsureRareData().offset_for_in_flow_position = new_offset;
|
| local_point.Move(new_offset);
|
|
|