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 8706e09f2a5c079a2ddc0af2eb68557368136677..7c979414e03277b1cd2c664b73cb6207aaeff6d6 100644 |
--- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp |
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp |
@@ -98,7 +98,7 @@ static void updateAuxiliaryObjectProperties(const LayoutObject& object, |
PaintLayer* paintLayer = object.enclosingLayer(); |
paintLayer->updateAncestorOverflowLayer(context.ancestorOverflowPaintLayer); |
- if (object.styleRef().position() == EPosition::kSticky) { |
+ if (object.styleRef().hasStickyConstrainedPosition()) { |
paintLayer->layoutObject().updateStickyPositionConstraints(); |
// Sticky position constraints and ancestor overflow scroller affect the |