| 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 486d5310abcee8f09af2d149e063f02505b910ab..5700d701d8e864b735a27d3f3a0ef320ebfa0b57 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(
|
| + MouseEventManager::FakeMouseMoveReason::kPerFrame);
|
| + }
|
|
|
| if (focused_element_ && !focused_element_->IsFocusable())
|
| ClearFocusedElementSoon();
|
|
|