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 0fdb26ccb0f139a5f54035d955b156ae921ace7a..c6bf716e34dee5d095c0c32ce66e4fb1536a54d1 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -813,7 +813,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(); |