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 6c6ec933ce0598843aae45578a2128c3483ef273..163e1a647197ef2ea421db18db252b6f6a74b149 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
@@ -282,7 +282,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. |
@@ -292,7 +291,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()) { |