Index: Source/core/page/scrolling/ScrollingCoordinator.cpp |
diff --git a/Source/core/page/scrolling/ScrollingCoordinator.cpp b/Source/core/page/scrolling/ScrollingCoordinator.cpp |
index c2addffbc8220326dc46e682af19e1eaa9d6434c..c47bf6edf8c1b86141977a0d7fc3e60dd76c18c3 100644 |
--- a/Source/core/page/scrolling/ScrollingCoordinator.cpp |
+++ b/Source/core/page/scrolling/ScrollingCoordinator.cpp |
@@ -999,7 +999,8 @@ bool ScrollingCoordinator::hasVisibleSlowRepaintViewportConstrainedObjects(Frame |
for (const LayoutObject* layoutObject : *viewportConstrainedObjects) { |
ASSERT(layoutObject->isBoxModelObject() && layoutObject->hasLayer()); |
- ASSERT(layoutObject->style()->position() == FixedPosition); |
+ ASSERT(layoutObject->style()->position() == FixedPosition |
+ || layoutObject->style()->position() == StickyPosition); |
DeprecatedPaintLayer* layer = toLayoutBoxModelObject(layoutObject)->layer(); |
// Whether the Layer scrolls with the viewport is a tree-depenent |