Index: third_party/WebKit/Source/core/input/EventHandler.cpp |
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp |
index 4f3ef35f25ce5701b9605ad659d2ba9dad8bca00..eae4d8c83d9594411467c4661995d39e286265b9 100644 |
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp |
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp |
@@ -361,9 +361,6 @@ void EventHandler::updateCursor() { |
// cursor update could be occluded by a different frame. |
ASSERT(m_frame == m_frame->localFrameRoot()); |
- if (m_mouseEventManager->isMousePositionUnknown()) |
- return; |
- |
FrameView* view = m_frame->view(); |
if (!view || !view->shouldSetCursor()) |
return; |
@@ -1903,7 +1900,8 @@ WebInputEventResult EventHandler::sendContextMenuEventForKey( |
void EventHandler::scheduleHoverStateUpdate() { |
// TODO(https://crbug.com/668758): Use a normal BeginFrame update for this. |
- if (!m_hoverTimer.isActive()) |
+ if (!m_hoverTimer.isActive() && |
+ !m_mouseEventManager->isMousePositionUnknown()) |
m_hoverTimer.startOneShot(0, BLINK_FROM_HERE); |
} |