| Index: third_party/WebKit/Source/core/frame/LocalFrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrameView.cpp b/third_party/WebKit/Source/core/frame/LocalFrameView.cpp
|
| index 7f2a73a612771758a0c6b7deceec0e5ce85a2e3b..70b800cb0de5f9a6f067cfe24f64feeeaf7d5b75 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrameView.cpp
|
| @@ -2596,7 +2596,11 @@ void LocalFrameView::PerformPostLayoutTasks() {
|
| // if there are no RemoteFrame ancestors in the frame tree. Use of
|
| // localFrameRoot() is discouraged but will change when cursor update
|
| // scheduling is moved from EventHandler to PageEventHandler.
|
| - GetFrame().LocalFrameRoot().GetEventHandler().ScheduleCursorUpdate();
|
| +
|
| + // Fire a fake a mouse move event to update hover state and mouse cursor, and
|
| + // send the right mouse out/over events.
|
| + frame_->GetEventHandler().DispatchFakeMouseMoveEventSoon(
|
| + DispatchInterval::kPerFrame);
|
|
|
| UpdateGeometries();
|
|
|
| @@ -4170,7 +4174,8 @@ void LocalFrameView::UpdateScrollOffset(const ScrollOffset& offset,
|
| Document* document = frame_->GetDocument();
|
| document->EnqueueScrollEventForNode(document);
|
|
|
| - frame_->GetEventHandler().DispatchFakeMouseMoveEventSoon();
|
| + frame_->GetEventHandler().DispatchFakeMouseMoveEventSoon(
|
| + DispatchInterval::kDuringScroll);
|
| if (scroll_type == kUserScroll || scroll_type == kCompositorScroll) {
|
| Page* page = GetFrame().GetPage();
|
| if (page)
|
|
|