Index: Source/core/page/scrolling/ScrollingCoordinator.cpp |
diff --git a/Source/core/page/scrolling/ScrollingCoordinator.cpp b/Source/core/page/scrolling/ScrollingCoordinator.cpp |
index f6042ed44400cfc6f3c8873749b329016a691bcf..1daeaf46a6563baec661e7f915308a611c0ce0db 100644 |
--- a/Source/core/page/scrolling/ScrollingCoordinator.cpp |
+++ b/Source/core/page/scrolling/ScrollingCoordinator.cpp |
@@ -961,7 +961,7 @@ bool ScrollingCoordinator::hasVisibleSlowRepaintViewportConstrainedObjects(Frame |
for (const LayoutObject* renderer : *viewportConstrainedObjects) { |
ASSERT(renderer->isBoxModelObject() && renderer->hasLayer()); |
ASSERT(renderer->style()->position() == FixedPosition); |
- Layer* layer = toRenderBoxModelObject(renderer)->layer(); |
+ Layer* layer = toLayoutBoxModelObject(renderer)->layer(); |
// Whether the Layer scrolls with the viewport is a tree-depenent |
// property and our viewportConstrainedObjects collection is maintained |