Index: Source/core/page/scrolling/ScrollingCoordinator.cpp |
diff --git a/Source/core/page/scrolling/ScrollingCoordinator.cpp b/Source/core/page/scrolling/ScrollingCoordinator.cpp |
index 29d32e62a55265d45a37ec489e66b16bfcfbab65..0910d57b56c1c08aab7a6e68fce9b357db3ad851 100644 |
--- a/Source/core/page/scrolling/ScrollingCoordinator.cpp |
+++ b/Source/core/page/scrolling/ScrollingCoordinator.cpp |
@@ -103,8 +103,7 @@ bool ScrollingCoordinator::touchHitTestingEnabled() const |
if (!m_page->mainFrame()->isLocalFrame()) |
return false; |
RenderView* contentRenderer = m_page->deprecatedLocalMainFrame()->contentRenderer(); |
- Settings* settings = m_page->mainFrame()->settings(); |
- return RuntimeEnabledFeatures::touchEnabled() && settings->compositorTouchHitTesting() && contentRenderer && contentRenderer->usesCompositing(); |
+ return RuntimeEnabledFeatures::touchEnabled() && contentRenderer && contentRenderer->usesCompositing(); |
jamesr
2014/07/21 19:31:28
i think we can delete this function completely and
Zeeshan Qureshi
2014/07/21 19:52:50
Thanks, I'll double check with Rick and update.
|
} |
void ScrollingCoordinator::setShouldHandleScrollGestureOnMainThreadRegion(const Region& region) |