Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(437)

Unified Diff: sky/engine/core/dom/Document.cpp

Issue 873963003: Remove more mouse-specific code (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Build fixes Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/dom/Element.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Document.cpp
diff --git a/sky/engine/core/dom/Document.cpp b/sky/engine/core/dom/Document.cpp
index f0d8bcf8a5ab7b0297a90398f6140d180bf3bd4e..76d32cc1ba4cf4f5df6244171ed8bd857205b1f4 100644
--- a/sky/engine/core/dom/Document.cpp
+++ b/sky/engine/core/dom/Document.cpp
@@ -1587,15 +1587,6 @@ void Document::hoveredNodeDetached(Node* node)
m_hoverNode = NodeRenderingTraversal::parent(node);
while (m_hoverNode && !m_hoverNode->renderer())
m_hoverNode = NodeRenderingTraversal::parent(m_hoverNode.get());
-
- // If the mouse cursor is not visible, do not clear existing
- // hover effects on the ancestors of |node| and do not invoke
- // new hover effects on any other element.
- if (!page()->isCursorVisible())
- return;
-
- if (frame())
- frame()->eventHandler().scheduleHoverStateUpdate();
}
void Document::activeChainNodeDetached(Node* node)
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698