| Index: Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| diff --git a/Source/core/page/scrolling/ScrollingCoordinator.cpp b/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| index 5df38d44cb0b49ccb0765c54baab7613979707fd..7d1d24938b093806e8637054f5a5df606fe0b081 100644
|
| --- a/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| +++ b/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| @@ -105,7 +105,8 @@ ScrollingCoordinator::~ScrollingCoordinator()
|
| bool ScrollingCoordinator::touchHitTestingEnabled() const
|
| {
|
| RenderView* contentRenderer = m_page->mainFrame()->contentRenderer();
|
| - return RuntimeEnabledFeatures::touchEnabled() && contentRenderer && contentRenderer->usesCompositing();
|
| + Settings* settings = m_page->mainFrame()->document()->settings();
|
| + return RuntimeEnabledFeatures::touchEnabled() && settings->compositorTouchHitTesting() && contentRenderer && contentRenderer->usesCompositing();
|
| }
|
|
|
| void ScrollingCoordinator::setShouldHandleScrollGestureOnMainThreadRegion(const Region& region)
|
|
|