Index: Source/core/rendering/RenderLayerScrollableArea.cpp |
diff --git a/Source/core/rendering/RenderLayerScrollableArea.cpp b/Source/core/rendering/RenderLayerScrollableArea.cpp |
index dc9cf2a34c7615bec5b1c374da51311be747ff08..0e17e4125aa3475def862df67b7c2facc3c109b6 100644 |
--- a/Source/core/rendering/RenderLayerScrollableArea.cpp |
+++ b/Source/core/rendering/RenderLayerScrollableArea.cpp |
@@ -896,7 +896,7 @@ void RenderLayerScrollableArea::destroyScrollbar(ScrollbarOrientation orientatio |
if (!scrollbar->isCustomScrollbar()) |
willRemoveScrollbar(scrollbar.get(), orientation); |
- toScrollView(scrollbar->parent())->removeChild(scrollbar.get()); |
+ toFrameView(scrollbar->parent())->removeChild(scrollbar.get()); |
scrollbar->disconnectFromScrollableArea(); |
scrollbar = nullptr; |
} |