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 8f14f007e448d32c2a6764b3b3b04a6adad430ce..ce09e0c7e4411a47529559b3a1c4bf5bdd378b47 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(); |