Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
index 43306c9a8063ebf9acd4922d08ebcf55157c5714..9d2e3244d4bbc060bbbc4de05139fca73412ee74 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
@@ -1584,7 +1584,7 @@ |
if (PaintLayerScrollableAreaRareData* d = RareData()) { |
d->sticky_constraints_map_.erase(layer); |
if (needs_compositing_update && |
- layer->GetLayoutObject().Style()->HasStickyConstrainedPosition()) |
+ layer->GetLayoutObject().Style()->GetPosition() == EPosition::kSticky) |
layer->SetNeedsCompositingInputsUpdate(); |
} |
} |