Index: third_party/WebKit/Source/core/input/GestureManager.cpp |
diff --git a/third_party/WebKit/Source/core/input/GestureManager.cpp b/third_party/WebKit/Source/core/input/GestureManager.cpp |
index a1324f0992265b9319a43f2d1b183b021cf4a365..7d53c3fc3fed36e6fd35a076a8ac69bb88783e44 100644 |
--- a/third_party/WebKit/Source/core/input/GestureManager.cpp |
+++ b/third_party/WebKit/Source/core/input/GestureManager.cpp |
@@ -56,7 +56,7 @@ HitTestRequest::HitTestRequestType GestureManager::GetHitTypeForGestureType( |
case WebInputEvent::kGestureTapCancel: |
// A TapDownCancel received when no element is active shouldn't really be |
// changing hover state. |
- if (!frame_->GetDocument()->ActiveHoverElement()) |
+ if (!frame_->GetDocument()->GetActiveElement()) |
hit_type |= HitTestRequest::kReadOnly; |
return hit_type | HitTestRequest::kRelease; |
case WebInputEvent::kGestureTap: |