Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 7b36b2a5347178a4be6bb6a5ce70520f7f85e888..b66ac7ca988cbb4cce64dac9514d85c295999ec2 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -667,8 +667,7 @@ bool WebViewImpl::handleGestureEvent(const WebGestureEvent& event) |
switch (event.type) { |
case WebInputEvent::GestureShowPress: |
// Queue a highlight animation, then hand off to regular handler. |
- if (settingsImpl()->gestureTapHighlightEnabled()) |
- enableTapHighlightAtPoint(platformEvent); |
+ enableTapHighlightAtPoint(platformEvent); |
break; |
case WebInputEvent::GestureTapCancel: |
case WebInputEvent::GestureTap: |
@@ -710,8 +709,7 @@ bool WebViewImpl::handleGestureEvent(const WebGestureEvent& event) |
// FIXME: replace touch adjustment code when numberOfGoodTargets == 1? |
// Single candidate case is currently handled by: https://bugs.webkit.org/show_bug.cgi?id=85101 |
if (goodTargets.size() >= 2 && m_client && m_client->didTapMultipleTargets(scaledEvent, goodTargets)) { |
- if (settingsImpl()->gestureTapHighlightEnabled()) |
- enableTapHighlights(highlightNodes); |
+ enableTapHighlights(highlightNodes); |
for (size_t i = 0; i < m_linkHighlights.size(); ++i) |
m_linkHighlights[i]->startHighlightAnimationIfNeeded(); |
eventSwallowed = true; |