Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index 67a44ea7569a54490a7d2a1c5e0c34ab9663fd29..9f0139ae686925e05f3f50a5dd6385df5c1efd48 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -676,6 +676,13 @@ |
return false; |
} |
+GraphicsLayer* FrameView::layerForScrollbarContainer() const |
+{ |
+ if (m_frame->isMainFrame()) |
+ return page()->frameHost().visualViewport().layerForScrollbarContainer(); |
+ return layerForContainer(); |
+} |
+ |
GraphicsLayer* FrameView::layerForScrolling() const |
{ |
LayoutView* layoutView = this->layoutView(); |