Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index 1ae5a1ebcfd86396700172d427e4b05145cf82e2..579e348fd897ec984e501273bddee70c725094cd 100644 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -2080,7 +2080,7 @@ bool EventHandler::dispatchMouseEvent(const AtomicString& eventType, Node* targe |
// if the page already set it (e.g., by canceling default behavior). |
if (Page* page = m_frame->page()) { |
if (node && node->isMouseFocusable()) { |
- if (!page->focusController()->setFocusedNode(node, m_frame)) |
+ if (!page->focusController()->setFocusedNode(node, m_frame, FocusDirectionMouse)) |
swallowEvent = true; |
} else if (!node || !node->focused()) { |
if (!page->focusController()->setFocusedNode(0, m_frame)) |