Chromium Code Reviews| 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(); |
| } |