Index: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp |
index 53ebcc64224eea42f9f30b9f3b5b941acca85d57..6839406c4686ffac18ce1c1c0581825b542380ee 100644 |
--- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp |
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp |
@@ -114,7 +114,7 @@ static void UpdateAuxiliaryObjectProperties(const LayoutObject& object, |
paint_layer->UpdateAncestorOverflowLayer( |
context.ancestor_overflow_paint_layer); |
- if (object.StyleRef().GetPosition() == EPosition::kSticky) { |
+ if (object.StyleRef().HasStickyConstrainedPosition()) { |
paint_layer->GetLayoutObject().UpdateStickyPositionConstraints(); |
// Sticky position constraints and ancestor overflow scroller affect the |