| Index: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| index d8c6599e5cca8f50180a4cc7c1d0ef73cc436162..b55bcac0167d11404c1b7c61e39bc907d273d244 100644
|
| --- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| +++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| @@ -873,7 +873,8 @@ Region ScrollingCoordinator::computeShouldHandleScrollGestureOnMainThreadRegion(
|
| const IntPoint& frameLocation) const {
|
| Region shouldHandleScrollGestureOnMainThreadRegion;
|
| FrameView* frameView = frame->view();
|
| - if (!frameView || frameView->shouldThrottleRendering())
|
| + if (!frameView || frameView->shouldThrottleRendering() ||
|
| + !frameView->isVisible())
|
| return shouldHandleScrollGestureOnMainThreadRegion;
|
|
|
| IntPoint offset = frameLocation;
|
|
|