Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index be08c9f4f0ac9f39141e8c3992768bd375942e05..114bc5180f931fd5e128db6041fd7e42ab8d55c2 100755 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -2298,7 +2298,7 @@ bool EventHandler::handleGestureEvent(const PlatformGestureEvent& gestureEvent) |
} else if (gestureEvent.type() == PlatformEvent::GestureTapDownCancel) { |
hitType |= HitTestRequest::Release; |
// A TapDownCancel received when no element is active shouldn't really be changing hover state. |
- if (!m_frame->document()->activeElement()) |
+ if (!m_frame->document()->activeHoverElement()) |
hitType |= HitTestRequest::ReadOnly; |
} else if (gestureEvent.type() == PlatformEvent::GestureTap) { |
hitType |= HitTestRequest::Release; |