Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
index 5b32d26638fd3d4204a2b28f2f486b7b907a37bd..56b3a1226d88432625331e2f5579a27ba28d1d32 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
@@ -353,7 +353,6 @@ void LayoutBoxModelObject::styleDidChange(StyleDifference diff, const ComputedSt |
if (newStyleIsSticky != oldStyleIsSticky) { |
if (newStyleIsSticky) { |
- frameView->addStickyPositionObject(); |
// During compositing inputs update we'll have the scroll |
// ancestor without having to walk up the tree and can compute |
// the sticky position constraints then. |
@@ -367,7 +366,6 @@ void LayoutBoxModelObject::styleDidChange(StyleDifference diff, const ComputedSt |
// This may get re-added to viewport constrained objects if the object went |
// from sticky to fixed. |
frameView->removeViewportConstrainedObject(this); |
- frameView->removeStickyPositionObject(); |
// Remove sticky constraints for this layer. |
if (layer()) { |