Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
index fc8f37723622c32a6de17ab60b65e731e45b1271..8f2a685571d69ed866ade602ef50222f63463c53 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -825,7 +825,7 @@ bool FrameView::usesCompositedScrolling() const { |
bool FrameView::shouldScrollOnMainThread() const { |
if (ScrollingCoordinator* sc = scrollingCoordinator()) { |
- if (sc->shouldUpdateScrollLayerPositionOnMainThread()) |
+ if (sc->shouldUpdateScrollLayerPositionOnMainThread(m_frame)) |
return true; |
} |
return ScrollableArea::shouldScrollOnMainThread(); |