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

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2536723007: Removed android scrolling fake mouse moves and device_supports_mouse (Closed)
Patch Set: Made checks mirror what previous logic Created 4 years 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
Index: third_party/WebKit/Source/core/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index a57215a72eea90757a14e3076e16739b997ac7c1..ce317634e859d63dffc2649abe9e9d43c6016cb9 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -3830,7 +3830,7 @@ void Document::hoveredNodeDetached(Element& element) {
if (!page()->isCursorVisible())
return;
- if (frame())
+ if (frame() && !frame()->eventHandler().isMousePositionUnknown())
bokan 2016/12/02 18:04:05 Move this into scheduleHoverStateUpdate.
amaralp 2016/12/02 23:00:35 Done.
frame()->eventHandler().scheduleHoverStateUpdate();
}

Powered by Google App Engine
This is Rietveld 408576698