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 5f661d84653b150493e1274b2d8efa8960b7ea9b..3bbdaa9b7c55d69ceae876094311a3f94e0caff2 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -2089,8 +2089,10 @@ void Document::UpdateStyleAndLayoutTree() { |
// have been detached (for example, by setting display:none in the :hover |
// style), schedule another mouseMove event to check if any other elements |
// ended up under the mouse pointer due to re-layout. |
- if (HoverElement() && !HoverElement()->GetLayoutObject() && GetFrame()) |
- GetFrame()->GetEventHandler().DispatchFakeMouseMoveEventSoon(); |
+ if (HoverElement() && !HoverElement()->GetLayoutObject() && GetFrame()) { |
+ GetFrame()->GetEventHandler().DispatchFakeMouseMoveEventSoon( |
+ DispatchInterval::kPerFrame); |
+ } |
if (focused_element_ && !focused_element_->IsFocusable()) |
ClearFocusedElementSoon(); |